3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-27 08:30:09 +01:00

Match the source for SPIGOT-1.8

Dieser Commit ist enthalten in:
Myles 2016-03-27 16:37:42 +01:00
Ursprung c0493de4df
Commit ba60f10744

Datei anzeigen

@ -323,7 +323,7 @@ public class WorldPackets {
// Don't send data if special // Don't send data if special
if (special && m != Material.AIR) { if (special && m != Material.AIR) {
wrapper.set(Type.POSITION, 0, new Position(-1L, -1L, -1L)); wrapper.set(Type.POSITION, 0, new Position(-1L, -1L, -1L));
wrapper.set(Type.BYTE, 0, (byte) -1); wrapper.set(Type.BYTE, 0, (byte) 255);
} }
EntityTracker tracker = wrapper.user().get(EntityTracker.class); EntityTracker tracker = wrapper.user().get(EntityTracker.class);
tracker.setLastPlaceBlock(wrapper.user().getReceivedPackets()); tracker.setLastPlaceBlock(wrapper.user().getReceivedPackets());