This commit is contained in:
TheCrunchy committed 2023-07-16 12:03:58 +01:00
1 parent 1e28214ce9
commit 7c553bb420
4 files changed
+3 -3

No files matched your search

Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -87,10 +87,10 @@ public class ClickHandler implements Listener {
if (created) { if (created) {
item.setAmount(item.getAmount() - 1); item.setAmount(item.getAmount() - 1);
thePlayer.getInventory().setItemInMainHand(item); thePlayer.getInventory().setItemInMainHand(item);
thePlayer.sendMessage("Cannon spawned!"); thePlayer.sendMessage("Equipment spawned!");
} }
else { else {
thePlayer.sendMessage("Cannon could not be spawned, is it enabled?"); thePlayer.sendMessage("Equipment could not be spawned, is it enabled?");
} }
event.setCancelled(true); event.setCancelled(true);
} }
+1 -1
View File
@@ -32,7 +32,7 @@ public class SiegeEquipment implements Cloneable {
public SiegeEquipment clone() throws CloneNotSupportedException { public SiegeEquipment clone() throws CloneNotSupportedException {
return (SiegeEquipment)super.clone(); return (SiegeEquipment)super.clone();
} }
public Boolean Enabled = false; public Boolean Enabled = true;
public UUID EntityId; public UUID EntityId;
public Entity Entity; public Entity Entity;