|
|
|
@ -163,6 +163,11 @@ public class Building extends AbstractWorldObject {
@@ -163,6 +163,11 @@ public class Building extends AbstractWorldObject {
|
|
|
|
|
if (upgradeTimeStamp != null) |
|
|
|
|
this.upgradeDateTime = LocalDateTime.ofInstant(upgradeTimeStamp.toInstant(), ZoneId.systemDefault()); |
|
|
|
|
|
|
|
|
|
if(rs.getInt("enforceKOS") == 0) |
|
|
|
|
this.enforceKOS = false; |
|
|
|
|
else |
|
|
|
|
this.enforceKOS = true; |
|
|
|
|
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
Logger.error("Failed for object " + this.blueprintUUID + ' ' + this.getObjectUUID() + e); |
|
|
|
|
} |
|
|
|
|