quick fix : 'if' statement with identical branches

This commit is contained in:
Alexdoru authored and Jason Mitchell committed 2023-01-28 18:02:41 -08:00
1 parent 04c7d32b53
commit fc54dde7ce
16 files changed
+39 -84

No files matched your search

@@ -63,10 +63,8 @@ public class BarricadeBlock extends MantleBlock {
public void harvestBlock(World world, EntityPlayer player, int x, int y, int z, int meta) {
if (meta % 4 > 0) {
world.setBlock(x, y, z, this, meta - 1, 3);
dropBlockAsItem(world, x, y, z, new ItemStack(this));
} else {
dropBlockAsItem(world, x, y, z, new ItemStack(this));
}
dropBlockAsItem(world, x, y, z, new ItemStack(this));
}
@Override