This commit is contained in:
Aubri Seebauer committed 2023-04-26 21:43:03 -04:00
1 parent 021c5a3b05
commit 7c483a9c39
1 file changed
+3 -1
@@ -464,7 +464,9 @@ public class Raid {
*/ */
final OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(owner.getUniqueId()); final OfflinePlayer offlinePlayer = Bukkit.getOfflinePlayer(owner.getUniqueId());
//raid chest //TODO cap based on the town balance
//raid chest TODO REMOVE THIS
Main.econ.depositPlayer(offlinePlayer, 1000); Main.econ.depositPlayer(offlinePlayer, 1000);
double amt = 0.0; double amt = 0.0;
if (this.raidedTown.getAccount().getHoldingBalance() > 10000) { if (this.raidedTown.getAccount().getHoldingBalance() > 10000) {