mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-04 14:38:57 +00:00
Redundancy 2
This commit is contained in:
1 parent
49e4600d1b
commit
f568e62256
1 file changed
-2
@@ -455,7 +455,6 @@ public class Raid {
|
|||||||
if (factor > 3.0) factor = 3.0;
|
if (factor > 3.0) factor = 3.0;
|
||||||
if (factor < 0) factor = 0.0;
|
if (factor < 0) factor = 0.0;
|
||||||
|
|
||||||
final Resident resident = TownyAPI.getInstance().getResident(owner.getUniqueId());
|
|
||||||
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "The raiders from " + this.raiders
|
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "The raiders from " + this.raiders
|
||||||
+ " have successfully raided " + this.raidedTown.getName() + "!");
|
+ " have successfully raided " + this.raidedTown.getName() + "!");
|
||||||
|
|
||||||
@@ -530,7 +529,6 @@ public class Raid {
|
|||||||
if (factor > 3.0) factor = 3.0;
|
if (factor > 3.0) factor = 3.0;
|
||||||
if (factor < 0) factor = 0.0;
|
if (factor < 0) factor = 0.0;
|
||||||
|
|
||||||
String statement = "raided";
|
|
||||||
if (factor <= 0.5) {
|
if (factor <= 0.5) {
|
||||||
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "The defenders from " + this.defenders
|
Bukkit.broadcastMessage(String.valueOf(Helper.Chatlabel()) + "The defenders from " + this.defenders
|
||||||
+ " have barely pushed back the raiders of " + this.raiders + ". More has been lost than gained.");
|
+ " have barely pushed back the raiders of " + this.raiders + ". More has been lost than gained.");
|
||||||
|
|||||||
Reference in new issue
Block a user