use pattern variables

This commit is contained in:
dfsek committed 2021-11-27 08:34:03 -07:00
1 parent 2d316fa042
commit 2307897b31
16 files changed
+33 -58

No files matched your search

@@ -54,7 +54,8 @@ public abstract class BlockEntityMixin {
}
public boolean terra$update(boolean applyPhysics) {
if(hasWorld()) world.getChunk(pos).setBlockEntity((net.minecraft.block.entity.BlockEntity) (Object) this);
if(hasWorld()) //noinspection ConstantConditions
world.getChunk(pos).setBlockEntity((net.minecraft.block.entity.BlockEntity) (Object) this);
return true;
}