Save wars @onDisable

This commit is contained in:
Isaac committed 2023-04-12 20:37:41 +01:00
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();
}
}
}