mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-01 14:38:55 +00:00
item does stuff now
This commit is contained in:
1 parent
9f98cc0fae
commit
12386ebe4b
1 file changed
+2
@@ -78,6 +78,8 @@ public class PlayerInteractListener implements Listener {
|
||||
|
||||
player.sendMessage(Helper.chatLabel() + Helper.color("&eBreak it down alright!"));
|
||||
brokenDoors.put(door, System.currentTimeMillis() + (1000L * Main.getInstance().getConfig().getInt("batteringRamEffectiveness")));
|
||||
door.setOpen(!door.isOpen());
|
||||
player.getInventory().getItemInMainHand().setAmount(player.getInventory().getItemInMainHand().getAmount() - 1);
|
||||
return;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user