mirror of
https://github.com/ProjectSWGCore/pswgcommon.git
synced 2026-08-02 02:15:59 -04:00
Fixed radials not working properly
This commit is contained in:
@@ -50,16 +50,16 @@ public class ObjectMenuSelect extends SWGPacket {
|
||||
if (!super.checkDecode(data, CRC))
|
||||
return;
|
||||
objectId = data.getLong();
|
||||
selection = data.getShort();
|
||||
selection = data.getByte();
|
||||
}
|
||||
|
||||
@Override
|
||||
public NetBuffer encode() {
|
||||
NetBuffer data = NetBuffer.allocate(16);
|
||||
NetBuffer data = NetBuffer.allocate(15);
|
||||
data.addShort(3);
|
||||
data.addInt(CRC);
|
||||
data.addLong(objectId);
|
||||
data.addShort(selection);
|
||||
data.addByte(selection);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user