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
+6 -6
View File
@@ -9,7 +9,7 @@
package engine.objects;
import engine.Enum;
import engine.mbEnums;
import engine.InterestManagement.Terrain;
import engine.db.archive.DataWarehouse;
import engine.gameManager.ZoneManager;
@@ -106,8 +106,8 @@ public class Zone extends AbstractWorldObject {
if (zone.playerCityUUID > 0) {
writer.put((byte) 1); // Player City - True
writer.putFloat(Enum.CityBoundsType.ZONE.halfExtents);
writer.putFloat(Enum.CityBoundsType.ZONE.halfExtents);
writer.putFloat(mbEnums.CityBoundsType.ZONE.halfExtents);
writer.putFloat(mbEnums.CityBoundsType.ZONE.halfExtents);
} else
writer.put((byte) 0); // Player City - False
@@ -165,8 +165,8 @@ public class Zone extends AbstractWorldObject {
// stored within its template.
if (this.template == null) {
this.minor_radius = Enum.CityBoundsType.ZONE.halfExtents;
this.major_radius = Enum.CityBoundsType.ZONE.halfExtents;
this.minor_radius = mbEnums.CityBoundsType.ZONE.halfExtents;
this.major_radius = mbEnums.CityBoundsType.ZONE.halfExtents;
} else {
this.minor_radius = this.template.minor_radius;
this.major_radius = this.template.major_radius;
@@ -312,7 +312,7 @@ public class Zone extends AbstractWorldObject {
// Write hash to player character table
DataWarehouse.writeHash(Enum.DataRecordType.ZONE, this.getObjectUUID());
DataWarehouse.writeHash(mbEnums.DataRecordType.ZONE, this.getObjectUUID());
}
}