RedstoneTester #202
@ -66,7 +66,8 @@ public class RedstoneListener implements Listener {
|
||||
private void activate(Location location) {
|
||||
if (loc1 != null && loc1.equals(location)) {
|
||||
if (activated != null && !activated.equals(location)) {
|
||||
player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick) + " §8(§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)");
|
||||
player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick));
|
||||
player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: (§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)");
|
||||
activated = null;
|
||||
return;
|
||||
}
|
||||
@ -74,7 +75,8 @@ public class RedstoneListener implements Listener {
|
||||
tick = currentTick;
|
||||
} else if (loc2 != null && loc2.equals(location)) {
|
||||
if (activated != null && !activated.equals(location)) {
|
||||
player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick) + " §8(§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)");
|
||||
player.sendMessage(BauSystem.PREFIX + "Aktivierungsdifferenz§8: §e" + (currentTick - tick));
|
||||
player.sendMessage(BauSystem.PREFIX + "Reihenfolge§8: (§7" + locationToString(activated) + " §8->§7 " + locationToString(location) + "§8)");
|
||||
activated = null;
|
||||
return;
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren