Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -9,12 +9,12 @@
|
||||
|
||||
package engine.net.client.handlers;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.Enum.BuildingGroup;
|
||||
import engine.db.archive.CityRecord;
|
||||
import engine.db.archive.DataWarehouse;
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.BuildingManager;
|
||||
import engine.mbEnums;
|
||||
import engine.mbEnums.BuildingGroup;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.net.client.msg.ClaimAssetMsg;
|
||||
import engine.net.client.msg.ClientNetMsg;
|
||||
@@ -81,7 +81,7 @@ public class ClaimAssetMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
// Early exit if UUID < the last database derived building UUID.
|
||||
|
||||
if (targetBuilding.getProtectionState() == Enum.ProtectionState.NPC) {
|
||||
if (targetBuilding.getProtectionState() == mbEnums.ProtectionState.NPC) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -122,7 +122,7 @@ public class ClaimAssetMsgHandler extends AbstractClientMsgHandler {
|
||||
targetBuilding.getCity().claim(sourcePlayer);
|
||||
|
||||
// Push transfer of city to data warehouse
|
||||
CityRecord cityRecord = CityRecord.borrow(targetBuilding.getCity(), Enum.RecordEventType.TRANSFER);
|
||||
CityRecord cityRecord = CityRecord.borrow(targetBuilding.getCity(), mbEnums.RecordEventType.TRANSFER);
|
||||
DataWarehouse.pushToWarehouse(cityRecord);
|
||||
|
||||
} else
|
||||
|
||||
Reference in New Issue
Block a user