mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
Made maxSiegeTicks a global constant.
(cherry picked from commit 850ea26171)
This commit is contained in:
1 parent
1d8b9913dc
commit
2574dec7d6
1 file changed
+2
-2
@@ -24,12 +24,13 @@ import com.palmergames.bukkit.towny.object.TownBlock;
|
||||
|
||||
public class Siege {
|
||||
|
||||
public static final int maxSiegeTicks = 72000; // 60 minute tick constant
|
||||
|
||||
private War war; // War which siege belongs to
|
||||
private Town town; // Town of the siege
|
||||
private boolean side1AreAttackers; // bool of if side1 being attacker
|
||||
private int attackerPoints;
|
||||
private int defenderPoints;
|
||||
private int maxSiegeTicks;
|
||||
private Player siegeOwner;
|
||||
private int siegeTicks;
|
||||
private TownBlock homeBlock;
|
||||
@@ -54,7 +55,6 @@ public class Siege {
|
||||
public void start() {
|
||||
attackerPoints = 0;
|
||||
defenderPoints = 0;
|
||||
this.maxSiegeTicks = 108000;
|
||||
this.siegeTicks = 0;
|
||||
homeBlock = town.getHomeBlockOrNull();
|
||||
townSpawn = town.getSpawnOrNull();
|
||||
|
||||
Reference in new issue
Block a user