Stop all parties when plugin is disabled
This commit is contained in:
parent
5ecbb93091
commit
ae8dff9e00
@ -20,6 +20,9 @@ public final class DiscoSheep extends JavaPlugin {
|
||||
|
||||
@Override
|
||||
public void onDisable() {
|
||||
for (String key:getPartyMap().keySet()) {
|
||||
stopParty(key);
|
||||
}
|
||||
}
|
||||
|
||||
public Map<String, DiscoParty> getPartyMap() {
|
||||
|
Loading…
Reference in New Issue
Block a user