From aacee632559da4301a2a12b86f04965f2f51bfa3 Mon Sep 17 00:00:00 2001 From: Trent Hensler Date: Sun, 4 Mar 2018 13:03:21 -0800 Subject: [PATCH] Delete warp password when warp is deleted --- .../com/massivecraft/factions/zcore/persist/MemoryFaction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java index 5c105d00..d6830e5a 100644 --- a/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java +++ b/src/main/java/com/massivecraft/factions/zcore/persist/MemoryFaction.java @@ -98,6 +98,7 @@ public abstract class MemoryFaction implements Faction, EconomyParticipator { } public boolean removeWarp(String name) { + warpPasswords.remove(name); // remove password no matter what. return warps.remove(name) != null; }