Renamed class to not conflict with the java.lang version.

This commit is contained in:
2024-04-05 07:59:44 -04:00
parent dd84615ca1
commit c1ee6f5b52
388 changed files with 1807 additions and 1779 deletions
@@ -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()];
}
/**