time to take a break for a few hours

This commit is contained in:
Progwml6 committed 2014-02-01 16:14:23 -05:00
1 parent 5aec324ece
commit e3282b14db
5 files changed
+8 -8

No files matched your search

@@ -84,13 +84,13 @@ public class BarricadeItem extends ItemBlock
{
return false;
}
else if (world.canPlaceEntityOnSide(this.b, x, y, z, false, side, player, stack))
else if (world.func_147472_a(this.b, x, y, z, false, side, player, stack))
{
Block block = this.b;
//int meta = this.getMetadata(stack.getItemDamage());
int rotation = MathHelper.floor_double((double) (player.rotationYaw * 4.0F / 360.0F) + 0.5D) & 3;
int meta = rotation * 4;
int metadata = this.b.onBlockPlaced(world, x, y, z, side, hitX, hitY, hitZ, meta);
int metadata = this.b.func_149660_a(world, x, y, z, side, hitX, hitY, hitZ, meta);
if (placeBlockAt(stack, player, world, x, y, z, side, hitX, hitY, hitZ, metadata))
{