class and table schema now conform to JSON

This commit is contained in:
2023-09-20 16:05:57 -04:00
parent 8289786099
commit be107c0858
20 changed files with 39 additions and 39 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ public class AddMobCmd extends AbstractDevCmd {
return;
}
if (zone.isGuildZone) {
if (zone.guild_zone) {
throwbackError(pc, "Cannot use ./mob on Player cities. Try ./servermob instead.");
return;
}
+2 -2
View File
@@ -81,7 +81,7 @@ public class GotoCmd extends AbstractDevCmd {
continue;
Zone zone = city.getParent();
if (zone != null) {
if (zone.isNPCCity || zone.isGuildZone)
if (zone.isNPCCity || zone.guild_zone)
loc = Vector3fImmutable.getRandomPointOnCircle(zone.getLoc(), MBServerStatics.TREE_TELEPORT_RADIUS);
else
loc = zone.getLoc();
@@ -100,7 +100,7 @@ public class GotoCmd extends AbstractDevCmd {
if (!zone.zoneName.equalsIgnoreCase(cityName))
continue;
if (zone != null) {
if (zone.isNPCCity || zone.isGuildZone)
if (zone.isNPCCity || zone.guild_zone)
loc = Vector3fImmutable.getRandomPointOnCircle(zone.getLoc(), MBServerStatics.TREE_TELEPORT_RADIUS);
else
loc = zone.getLoc();
+1 -1
View File
@@ -111,7 +111,7 @@ public class MakeBaneCmd extends AbstractDevCmd {
return;
}
if (!zone.isGuildZone) {
if (!zone.guild_zone) {
throwbackError(pc, "This is not a player city.");
return;
}
+1 -1
View File
@@ -42,7 +42,7 @@ public class PurgeObjectsCmd extends AbstractDevCmd {
private static void PurgeWalls(Zone zone, PlayerCharacter pc) {
if (!zone.isGuildZone)
if (!zone.guild_zone)
return;
for (Building building : zone.zoneBuildingSet) {
+1 -1
View File
@@ -34,7 +34,7 @@ public class RemoveBaneCmd extends AbstractDevCmd {
return;
}
if (!zone.isGuildZone) {
if (!zone.guild_zone) {
throwbackError(pc, "This is not a player city.");
return;
}
+1 -1
View File
@@ -41,7 +41,7 @@ public class SetBaneActiveCmd extends AbstractDevCmd {
return;
}
if (!zone.isGuildZone) {
if (!zone.guild_zone) {
throwbackError(pc, "This is not a player city.");
return;
}