This commit is contained in:
Isaac committed 2023-04-18 20:21:52 +01:00
commit 098b414101
2 files changed
+13 -2

No files matched your search

+10
View File
@@ -33,6 +33,10 @@
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>krypton</id>
<url>https://repo.kryptonmc.org/releases</url>
</repository>
</repositories>
<dependencies>
@@ -55,5 +59,11 @@
<version>0.98.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>me.neznamy</groupId>
<artifactId>tab-api</artifactId>
<version>3.2.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>
@@ -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();