Begin adding stricter null annotations to prepare for 1.11

This commit is contained in:
mezz committed 2017-02-05 23:47:40 -08:00
1 parent 4140ba7d7f
commit 16b955b443
330 files changed
+2302 -921

No files matched your search

@@ -57,7 +57,7 @@ public class BlockCeramic extends Block implements IColoredBlock, IItemModelRegi
drops = Collections.singletonList(ceramic.getStack());
}
boolean hasBeenBroken = world.setBlockToAir(pos);
if (hasBeenBroken && BinnieCore.proxy.isSimulating(world) && drops.size() > 0 && (player == null || !player.capabilities.isCreativeMode)) {
if (hasBeenBroken && BinnieCore.getBinnieProxy().isSimulating(world) && drops.size() > 0 && (player == null || !player.capabilities.isCreativeMode)) {
for (ItemStack drop : drops) {
spawnAsEntity(world, pos, drop);
}