mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 22:14:45 +00:00
Save wars @onDisable
This commit is contained in:
1 parent
2824c8829f
commit
6c5cf097e3
1 file changed
+3
@@ -98,5 +98,8 @@ public class Main extends JavaPlugin {
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
for (War war : WarData.getWars()) {
|
||||
war.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user