From 2cced058ca880ca0b146e76707ed59a0e4b423f7 Mon Sep 17 00:00:00 2001 From: Aubri Seebauer Date: Tue, 18 Apr 2023 13:05:15 -0400 Subject: [PATCH 1/2] =?UTF-8?q?added=20TAB=20API=20to=20pom=20file=20yay?= =?UTF-8?q?=20!!!!=20=E2=9C=A8=E2=9C=A8=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index e3cdbb1..5555c5d 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,10 @@ jitpack.io https://jitpack.io + + krypton + https://repo.kryptonmc.org/releases + @@ -47,5 +51,11 @@ 0.98.3.3 provided + + me.neznamy + tab-api + 3.2.4 + provided + \ No newline at end of file From 00b416a975b2c75e6bdf191e0b9e9ed3a25cb5be Mon Sep 17 00:00:00 2001 From: Aubri Seebauer Date: Tue, 18 Apr 2023 13:37:08 -0400 Subject: [PATCH 2/2] fix gather town issue --- src/main/java/me/ShermansWorld/AlathraWar/Raid.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/ShermansWorld/AlathraWar/Raid.java b/src/main/java/me/ShermansWorld/AlathraWar/Raid.java index ce0dc01..4d50ffc 100644 --- a/src/main/java/me/ShermansWorld/AlathraWar/Raid.java +++ b/src/main/java/me/ShermansWorld/AlathraWar/Raid.java @@ -102,7 +102,7 @@ public class Raid { final boolean side1AreRaiders, final int raidTicks) { this.bukkitId = new int[1]; - this.activeRaiders = activeRaiders == null ? new ArrayList<>() : activeRaiders; +// this.activeRaiders = activeRaiders == null ? new ArrayList<>() : activeRaiders; this.war = war; this.raidTicks = raidTicks; this.raidedTown = raidedTown; @@ -143,10 +143,11 @@ public class Raid { public Raid(final War war, final Town raidedTown, final Town gatherTown, final boolean side1AreRaiders) { this.bukkitId = new int[1]; - this.activeRaiders = activeRaiders == null ? new ArrayList<>() : activeRaiders; +// this.activeRaiders = activeRaiders == null ? new ArrayList<>() : activeRaiders; this.war = war; this.raidTicks = 0; this.raidedTown = raidedTown; + this.gatherTown = gatherTown; //AttackSide-Town this.name = (side1AreRaiders ? war.getSide1() : war.getSide2()).toLowerCase() + "-" + raidedTown.getName().toLowerCase();