mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
fix gather town issue
This commit is contained in:
1 parent
2cced058ca
commit
00b416a975
1 file changed
+3
-2
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user