mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-01 14:38:55 +00:00
Fix Infinite Firing?
Attempt 1
This commit is contained in:
1 parent
6b67a758c8
commit
343f3af943
1 file changed
+2
-2
@@ -198,7 +198,7 @@ public class GunnerEquipment implements Cloneable {
|
||||
|
||||
this.WorldName = Entity.getWorld().getName();
|
||||
this.NextShotTime = System.currentTimeMillis() + 1000;
|
||||
for (int i = 0; i <= this.shotAmount /* range */; i += 1) {
|
||||
//for (int i = 0; i <= this.shotAmount /* range */; i += 1) {
|
||||
if (living == null || living.isDead()) {
|
||||
return;
|
||||
}
|
||||
@@ -279,6 +279,6 @@ public class GunnerEquipment implements Cloneable {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user