Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
package engine.net.client.msg;
|
||||
|
||||
|
||||
import engine.Enum;
|
||||
import engine.mbEnums;
|
||||
import engine.exception.SerializationException;
|
||||
import engine.net.AbstractConnection;
|
||||
import engine.net.ByteBufferReader;
|
||||
@@ -22,12 +22,12 @@ public class TransferItemFromEquipToInventoryMsg extends ClientNetMsg {
|
||||
|
||||
private int playerType;
|
||||
private int playerUUID;
|
||||
public Enum.EquipSlotType slot;
|
||||
public mbEnums.EquipSlotType slot;
|
||||
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public TransferItemFromEquipToInventoryMsg(AbstractGameObject ago, Enum.EquipSlotType slot) {
|
||||
public TransferItemFromEquipToInventoryMsg(AbstractGameObject ago, mbEnums.EquipSlotType slot) {
|
||||
super(Protocol.UNEQUIP);
|
||||
this.playerType = ago.getObjectType().ordinal();
|
||||
this.playerUUID = ago.getObjectUUID();
|
||||
@@ -51,7 +51,7 @@ public class TransferItemFromEquipToInventoryMsg extends ClientNetMsg {
|
||||
protected void _deserialize(ByteBufferReader reader) {
|
||||
this.playerType = reader.getInt();
|
||||
this.playerUUID = reader.getInt();
|
||||
this.slot = Enum.EquipSlotType.values()[reader.getInt()];
|
||||
this.slot = mbEnums.EquipSlotType.values()[reader.getInt()];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user