mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-03 14:38:53 +00:00
.
This commit is contained in:
1 parent
57a8be7cd3
commit
bbc9ef7d79
2 files changed
+2
-2
No files matched your search
Binary file not shown.
@@ -177,8 +177,8 @@ public class ClickHandler implements Listener {
|
|||||||
}
|
}
|
||||||
double distance = player.getLocation().distance(ent.getLocation());
|
double distance = player.getLocation().distance(ent.getLocation());
|
||||||
if (distance >= 250) {
|
if (distance >= 250) {
|
||||||
player.sendMessage("Too far away to fire");
|
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
SiegeEquipment siege = CrunchSiegeCore.equipment.get(ent.getUniqueId());
|
SiegeEquipment siege = CrunchSiegeCore.equipment.get(ent.getUniqueId());
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user