This commit is contained in:
TheCrunchy committed 2023-08-01 21:07:46 +01:00
1 parent aa3a073b89
commit d6143dc6ba
4 files changed
+2 -2

No files matched your search

Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -89,7 +89,7 @@ public class ClickHandler implements Listener {
Snowball ball = (Snowball) snowball;
Player player = (Player) ball.getShooter();
if (player != null) {
player.sendMessage("Distance to impact: " + player.getLocation().distance(ball.getLocation()));
player.sendMessage("Distance to impact: " + String.format("%.2f",player.getLocation().distance(ball.getLocation())));
}
Location loc = snowball.getLocation();
World world = event.getEntity().getWorld();
+1 -1
View File
@@ -42,7 +42,7 @@ public class SiegeEquipment implements Cloneable {
public String EquipmentName = "Cannon";
public int XOffset = 7;
public int YOffset = 0;
public int PitchOffset = -90;
public int PitchOffset = 0;
public int MaxFuel = 5;
public double PlacementOffsetY = 0;
public float VelocityPerFuel = 0.75f;