Townblock Looting

This commit is contained in:
Aubri Seebauer committed 2023-04-10 18:12:07 -04:00
1 parent 2dec08df80
commit 77c458fb4a
3 files changed
+138 -5

No files matched your search

@@ -2,6 +2,7 @@ package me.ShermansWorld.AlathraWar.data;
import com.palmergames.bukkit.towny.TownyAPI;
import com.palmergames.bukkit.towny.object.Town;
import com.palmergames.bukkit.towny.object.WorldCoord;
import me.ShermansWorld.AlathraWar.Main;
import me.ShermansWorld.AlathraWar.Raid;
import me.ShermansWorld.AlathraWar.War;
@@ -85,9 +86,13 @@ public class RaidData {
raid.setActiveRaiders((ArrayList<String>) fileData.get("activeRaiders"));
}
// HashMap<WorldCoord,Raid.LootBlock> lootBlockHashMap = fileData.get("lootedChunks");
return raid;
}
/**
* Saves the war into files.
* @param raid - War to be saved.