mirror of
https://github.com/MassiveCraft/Factions.git
synced 2025-01-08 08:57:50 +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) {
|
public boolean removeWarp(String name) {
|
||||||
|
warpPasswords.remove(name); // remove password no matter what.
|
||||||
return warps.remove(name) != null;
|
return warps.remove(name) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user