More patch work, client patches.

This commit is contained in:
LexManos committed 2016-03-07 21:06:54 -08:00
1 parent f0e5baa8e5
commit 26ca27193c
28 files changed
+380 -403

No files matched your search

@@ -59,6 +59,7 @@ import net.minecraft.nbt.NBTTagList;
import net.minecraft.nbt.NBTTagString;
import net.minecraft.network.NetHandlerPlayServer;
import net.minecraft.network.Packet;
import net.minecraft.network.play.server.SPacketBlockChange;
import net.minecraft.stats.StatList;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.tileentity.TileEntityNote;
@@ -671,7 +672,7 @@ public class ForgeHooks
// Tell client the block is gone immediately then process events
if (world.getTileEntity(pos) == null)
{
S23PacketBlockChange packet = new S23PacketBlockChange(world, pos);
SPacketBlockChange packet = new SPacketBlockChange(world, pos);
packet.blockState = Blocks.air.getDefaultState();
entityPlayer.playerNetServerHandler.sendPacket(packet);
}
@@ -937,4 +938,4 @@ public class ForgeHooks
MovingObjectPosition movingObjectPosition = rayTraceEyes(entity, length);
return movingObjectPosition == null ? null : movingObjectPosition.hitVec;
}
}
}