diff --git a/src/com/massivecraft/factions/entity/Faction.java b/src/com/massivecraft/factions/entity/Faction.java index 5117fe2e..8e9d5b69 100644 --- a/src/com/massivecraft/factions/entity/Faction.java +++ b/src/com/massivecraft/factions/entity/Faction.java @@ -335,10 +335,10 @@ public class Faction extends Entity implements EconomyParticipator return ret; } - public void setOpen(boolean open) + public void setOpen(Boolean open) { // Clean input - boolean target = open; + Boolean target = open; // Detect Nochange if (MUtil.equals(this.open, target)) return; @@ -809,10 +809,10 @@ public class Faction extends Entity implements EconomyParticipator // FOREIGN KEY: UPLAYER // -------------------------------------------- // - protected transient List uplayers = null; + protected transient List uplayers = new ArrayList(); public void reindexUPlayers() { - this.uplayers = new ArrayList(); + this.uplayers.clear(); String factionId = this.getId(); if (factionId == null) return;