mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-23 02:25:19 +01:00
* Cancel swap item, fix #364 * Remove canceling drop item
This commit is contained in:
parent
18f77308f5
commit
b6794f5597
@ -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();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user