mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 02:47:44 +01:00
Let's be a little less tricky to the client. Relates to BUKKIT-637
This commit is contained in:
parent
5900268e7a
commit
98fd1a3606
@ -207,8 +207,8 @@ public class ItemInWorldManager {
|
|||||||
if (world.getTileEntity(i, j, k) == null) {
|
if (world.getTileEntity(i, j, k) == null) {
|
||||||
Packet53BlockChange packet = new Packet53BlockChange(i, j, k, this.world);
|
Packet53BlockChange packet = new Packet53BlockChange(i, j, k, this.world);
|
||||||
|
|
||||||
packet.material = block.getTypeId();
|
packet.material = 0;
|
||||||
packet.data = block.getData();
|
packet.data = 0;
|
||||||
((EntityPlayer) this.player).netServerHandler.sendPacket(packet);
|
((EntityPlayer) this.player).netServerHandler.sendPacket(packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user