quick fix : 'if' statement with identical branches

This commit is contained in:
Alexdoru committed 2023-01-25 22:53:06 +01:00
1 parent 5a1c3a4dfd
commit 6a88c6a5e1
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