quick fix : Redundant type cast

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent b34eec4dea
commit 2d13e6185e
84 files changed
+426 -434

No files matched your search

@@ -24,7 +24,7 @@ public class OreberryBushEssence extends OreberryBush implements IPlantable {
int meta = world.getBlockMetadata(x, y, z);
if (world.getFullBlockLightValue(x, y, z) < 10 || meta % 4 == 1) {
if (meta < 12) {
world.setBlock(x, y, z, (Block) this, meta + 4, 3);
world.setBlock(x, y, z, this, meta + 4, 3);
}
}
/*