mirror of
https://github.com/darksaid98/SiegeEngines.git
synced 2026-12-02 06:28:57 +00:00
.
This commit is contained in:
1 parent
1e28214ce9
commit
7c553bb420
4 files changed
+3
-3
No files matched your search
Binary file not shown.
Binary file not shown.
@@ -87,10 +87,10 @@ public class ClickHandler implements Listener {
|
||||
if (created) {
|
||||
item.setAmount(item.getAmount() - 1);
|
||||
thePlayer.getInventory().setItemInMainHand(item);
|
||||
thePlayer.sendMessage("Cannon spawned!");
|
||||
thePlayer.sendMessage("Equipment spawned!");
|
||||
}
|
||||
else {
|
||||
thePlayer.sendMessage("Cannon could not be spawned, is it enabled?");
|
||||
thePlayer.sendMessage("Equipment could not be spawned, is it enabled?");
|
||||
}
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ public class SiegeEquipment implements Cloneable {
|
||||
public SiegeEquipment clone() throws CloneNotSupportedException {
|
||||
return (SiegeEquipment)super.clone();
|
||||
}
|
||||
public Boolean Enabled = false;
|
||||
public Boolean Enabled = true;
|
||||
public UUID EntityId;
|
||||
public Entity Entity;
|
||||
|
||||
|
||||
Reference in new issue
Block a user