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
1 changed files with 1 additions and 0 deletions

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