mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-02 06:28:52 +00:00
fix looting output
This commit is contained in:
1 parent
923a031253
commit
063826581c
2 files changed
+5
-8
No files matched your search
@@ -127,14 +127,11 @@ public class WarData
|
||||
sHashMap.put("lastRaidTimeSide1", war.getLastRaidTimeSide1());
|
||||
sHashMap.put("lastRaidTimeSide2", war.getLastRaidTimeSide2());
|
||||
|
||||
|
||||
|
||||
DataManager.saveData("wars" + File.separator + war.getName() + ".yml", sHashMap);
|
||||
}
|
||||
|
||||
private static void deleteWar(War war) {
|
||||
File[] files = new File(dataFolderPath + File.separator + "wars").listFiles(ymlFilter);
|
||||
|
||||
for (File file : files) {
|
||||
if (file.getName().startsWith(war.getName())) {
|
||||
file.delete();
|
||||
|
||||
Reference in new issue
Block a user