mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 14:38:56 +00:00
Remove debug from right click.
This commit is contained in:
1 parent
57ac917e93
commit
5e2b1ada29
1 file changed
+1
-1
@@ -123,7 +123,7 @@ public class PlayerInteractListener implements Listener {
|
|||||||
if (clicked.getType().toString().contains("DOOR")) {
|
if (clicked.getType().toString().contains("DOOR")) {
|
||||||
Door door = (Door) clicked.getBlockData();
|
Door door = (Door) clicked.getBlockData();
|
||||||
if (doorBroken(clicked, door)) {
|
if (doorBroken(clicked, door)) {
|
||||||
player.sendMessage(Helper.chatLabel() + Helper.color("Door is broken! " + String.valueOf(System.currentTimeMillis()) + " " + getDoorPos(clicked, door).toString()));
|
player.sendMessage(Helper.chatLabel() + Helper.color("Door is broken!"));
|
||||||
event.setCancelled(true);
|
event.setCancelled(true);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in new issue
Block a user