Remove unneeded casts since 1.8.8 restores generics

This commit is contained in:
Vincent Lee committed 2015-12-21 12:53:59 -06:00
1 parent dbb549ba2a
commit c480a3303a
46 files changed
+71 -71

No files matched your search

@@ -311,7 +311,7 @@ public abstract class EntityThrowableCopy extends Entity implements IProjectile
tagCompound.setShort("xTile", (short)this.xTile);
tagCompound.setShort("yTile", (short)this.yTile);
tagCompound.setShort("zTile", (short)this.zTile);
ResourceLocation resourcelocation = (ResourceLocation)Block.blockRegistry.getNameForObject(this.inTile);
ResourceLocation resourcelocation = Block.blockRegistry.getNameForObject(this.inTile);
tagCompound.setString("inTile", resourcelocation == null ? "" : resourcelocation.toString());
tagCompound.setByte("shake", (byte)this.throwableShake);
tagCompound.setByte("inGround", (byte)(this.inGround ? 1 : 0));