3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-08 17:20:24 +01: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 @Override
public void handle(PacketWrapper wrapper) throws Exception { public void handle(PacketWrapper wrapper) throws Exception {
int status = wrapper.get(Type.UNSIGNED_BYTE, 0); int status = wrapper.get(Type.UNSIGNED_BYTE, 0);
if (status == 4) if (status == 6)
wrapper.cancel(); wrapper.cancel();
} }
}); });