From ec1e557cb79c3066bd991d06a37abe1dd311a2e3 Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 7 Mar 2021 12:37:07 +0100 Subject: [PATCH] Add RedstoneListener messages --- .../src/de/steamwar/bausystem/world/RedstoneListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/RedstoneListener.java b/BauSystem_Main/src/de/steamwar/bausystem/world/RedstoneListener.java index b7fa402..7333dc5 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/RedstoneListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/RedstoneListener.java @@ -67,7 +67,7 @@ public class RedstoneListener implements Listener { if (loc1 != null && loc1.equals(location)) { if (activated != null && !activated.equals(location)) { player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick)); - player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: (§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)"); + player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: §7" + locationToString(activated) + " §8->§7 " + locationToString(location)); activated = null; return; } @@ -76,7 +76,7 @@ public class RedstoneListener implements Listener { } else if (loc2 != null && loc2.equals(location)) { if (activated != null && !activated.equals(location)) { player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick)); - player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: (§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)"); + player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: §7" + locationToString(activated) + " §8->§7 " + locationToString(location)); activated = null; return; }