misc fixes

This commit is contained in:
Progwml6 committed 2014-01-08 23:46:45 -05:00
1 parent ab73bafc15
commit eba66e0182
27 files changed
+120 -117

No files matched your search

@@ -88,11 +88,11 @@ public class BarricadeBlock extends MantleBlock
int meta = world.getBlockMetadata(x, y, z);
if (meta % 4 != 3)
{
world.setBlock(x, y, z, this.blockID, meta + 1, 3);
Block.blocksList[this.blockID].onBlockPlacedBy(world, x, y, z, player, stack);
Block.blocksList[this.blockID].onPostBlockPlaced(world, x, y, z, meta);
world.setBlock(x, y, z, this, meta + 1, 3);
this..onBlockPlacedBy(world, x, y, z, player, stack);
this.blockID.onPostBlockPlaced(world, x, y, z, meta);
Block var9 = Block.blocksList[this.blockID];
Block var9 = this;
world.playSoundEffect(x + 0.5F, y + 0.5F, z + 0.5F, var9.stepSound.getStepSound(), (var9.stepSound.getVolume() + 1.0F) / 2.0F, var9.stepSound.getPitch() * 0.8F);
player.swingItem();
if (!player.capabilities.isCreativeMode)