mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 17:39:52 -05:00
Former-commit-id: 7dd6e2782dd9177cebbf2c28f56b50bed11ada9a [formerly 1347f2cce27cf6aec093bd4951d912fc3653dc4a] Former-commit-id: 28bd9c85a99aa23e3f5ac0477f0387b1b2a856cf
22 lines
573 B
Java
22 lines
573 B
Java
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);
|
|
}
|
|
}
|