3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-09-08 22:02:50 +02:00

Cancel swap item, fix #364 (#365)

* Cancel swap item, fix #364

* Remove canceling drop item
Dieser Commit ist enthalten in:
Mats 2016-04-20 19:31:18 +02:00 committet von Myles
Ursprung 18f77308f5
Commit b6794f5597

Datei anzeigen

@ -217,7 +217,7 @@ public class WorldPackets {
@Override
public void handle(PacketWrapper wrapper) throws Exception {
int status = wrapper.get(Type.UNSIGNED_BYTE, 0);
if (status == 4)
if (status == 6)
wrapper.cancel();
}
});