mirror of
https://github.com/MassiveCraft/Factions.git
synced 2025-01-07 16:38:00 +01:00
Delete warp password when warp is deleted
This commit is contained in:
parent
fe51837845
commit
aacee63255
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user