Delete warp password when warp is deleted

This commit is contained in:
Trent Hensler 2018-03-04 13:03:21 -08:00
parent fe51837845
commit aacee63255

View File

@ -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;
}