Fix javac doing wrong elimination
This commit is contained in:
parent
97da4024fe
commit
98c16f0b15
|
@ -118,9 +118,12 @@ public abstract class ArmorStandEntityMixin extends LivingEntityMixin {
|
||||||
private Collection<ItemEntity> arclight$drops() {
|
private Collection<ItemEntity> arclight$drops() {
|
||||||
Collection<ItemEntity> drops = this.captureDrops();
|
Collection<ItemEntity> drops = this.captureDrops();
|
||||||
if (drops == null) {
|
if (drops == null) {
|
||||||
this.captureDrops(new ArrayList<>());
|
ArrayList<ItemEntity> list = new ArrayList<>();
|
||||||
|
this.captureDrops(list);
|
||||||
|
return list;
|
||||||
|
} else {
|
||||||
|
return drops;
|
||||||
}
|
}
|
||||||
return this.captureDrops();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void arclight$callEntityDeath() {
|
private void arclight$callEntityDeath() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user