More blockstate guards in TE and blockstate conversions

This commit is contained in:
Vincent Lee committed 2016-01-09 19:01:31 -06:00
1 parent 1c14dcf8ff
commit 4345bd9728
14 files changed
+56 -27

No files matched your search

@@ -23,8 +23,6 @@ public class TileMod extends TileEntity {
@Override
public boolean shouldRefresh(World world, BlockPos pos, IBlockState oldState, IBlockState newState) {
// todo: review all subclasses. this could potentially leave stragglers hanging.
// todo: example: open crate and crafty crate should refresh when variants change
return oldState.getBlock() != newState.getBlock();
}