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
@@ -1,7 +1,7 @@
package engine.net.client.handlers;
import engine.Enum;
import engine.Enum.BuildingGroup;
import engine.mbEnums;
import engine.mbEnums.BuildingGroup;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
@@ -50,7 +50,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
// Cannot destroy Oblivion database derived buildings.
if (building.getProtectionState() == Enum.ProtectionState.NPC) {
if (building.getProtectionState() == mbEnums.ProtectionState.NPC) {
return true;
}
@@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
if (city != null)
bane = city.getBane();
if (bane != null && bane.getSiegePhase() == Enum.SiegePhase.WAR) {
if (bane != null && bane.getSiegePhase() == mbEnums.SiegePhase.WAR) {
ErrorPopupMsg.sendErrorPopup(pc, 171);
return true;
}