Try use sync task

Former-commit-id: 7dd6e2782dd9177cebbf2c28f56b50bed11ada9a [formerly 1347f2cce27cf6aec093bd4951d912fc3653dc4a]
Former-commit-id: 28bd9c85a99aa23e3f5ac0477f0387b1b2a856cf
This commit is contained in:
Ghost_chu committed 2018-11-21 22:42:20 +08:00
1 parent 3bedbe9f68
commit f4f32d9382
147 files changed
+14597 -22

No files matched your search

@@ -0,0 +1,21 @@
package com.comphenix.packetwrapper;
import com.comphenix.protocol.PacketType;
import com.comphenix.protocol.events.PacketContainer;
public class WrapperPlayClientTradeSelect extends AbstractPacket {
public static final PacketType TYPE = PacketType.Play.Client.TRADE_SELECT;
public WrapperPlayClientTradeSelect() {
super(new PacketContainer(TYPE), TYPE);
handle.getModifier().writeDefaults();
}
public int getSlot() {
return handle.getIntegers().read(0);
}
public void setSlot(int value) {
handle.getIntegers().write(0, value);
}
}