Trace Refactor #233
@ -441,7 +441,7 @@ TRACE_MESSAGE_SHARE=§e{0} shared his trace show state.
|
|||||||
TRACE_MESSAGE_SHARE_HOVER=§eClick to view
|
TRACE_MESSAGE_SHARE_HOVER=§eClick to view
|
||||||
TRACE_MESSAGE_FOLLOW=§aYou are now following {0} Trace show state
|
TRACE_MESSAGE_FOLLOW=§aYou are now following {0} Trace show state
|
||||||
TRACE_MESSAGE_FOLLOW_SELF=§cYou cannot follow yourself!
|
TRACE_MESSAGE_FOLLOW_SELF=§cYou cannot follow yourself!
|
||||||
TRACE_MESSAGE_UNFOLLOW=§eYou are no longer following a Trace show state
|
TRACE_MESSAGE_UNFOLLOW=§cYou are no longer following a Trace show state
|
||||||
TRACE_COMMAND_HELP_START=§8/§etrace start §8- §7Starts recording of all TNT-positions
|
TRACE_COMMAND_HELP_START=§8/§etrace start §8- §7Starts recording of all TNT-positions
|
||||||
TRACE_COMMAND_HELP_STOP=§8/§etrace stop §8- §7Stops the TNT-Tracer
|
TRACE_COMMAND_HELP_STOP=§8/§etrace stop §8- §7Stops the TNT-Tracer
|
||||||
TRACE_COMMAND_HELP_AUTO=§8/§etrace toggleauto §8- §7Automatic start of recording
|
TRACE_COMMAND_HELP_AUTO=§8/§etrace toggleauto §8- §7Automatic start of recording
|
||||||
|
@ -406,7 +406,7 @@ TRACE_MESSAGE_SHARE=§e{0} teilte seinen Trace-Show-Status.
|
|||||||
TRACE_MESSAGE_SHARE_HOVER=§eZum Ansehen klicken.
|
TRACE_MESSAGE_SHARE_HOVER=§eZum Ansehen klicken.
|
||||||
TRACE_MESSAGE_FOLLOW=§aSie folgen nun {0} Trace show state
|
TRACE_MESSAGE_FOLLOW=§aSie folgen nun {0} Trace show state
|
||||||
TRACE_MESSAGE_FOLLOW_SELF=§cSie können sich selbst nicht folgen!
|
TRACE_MESSAGE_FOLLOW_SELF=§cSie können sich selbst nicht folgen!
|
||||||
TRACE_MESSAGE_UNFOLLOW=§eSie folgen nicht mehr dem Status einer Trace-Show
|
TRACE_MESSAGE_UNFOLLOW=§cSie folgen nicht mehr dem Status einer Trace-Show
|
||||||
TRACE_MESSAGE_SHOW_TO_SMALLER=§cBis muss größer als von sein
|
TRACE_MESSAGE_SHOW_TO_SMALLER=§cBis muss größer als von sein
|
||||||
TRACE_MESSAGE_ISOLATE=§eTNT Positionen wurden isoliert
|
TRACE_MESSAGE_ISOLATE=§eTNT Positionen wurden isoliert
|
||||||
TRACE_COMMAND_HELP_SHARE=§8/§etrace share §8- §7Teilt den aktuellen Trace-Show-Status mit anderen
|
TRACE_COMMAND_HELP_SHARE=§8/§etrace share §8- §7Teilt den aktuellen Trace-Show-Status mit anderen
|
||||||
|
@ -54,6 +54,7 @@ public class IsolateFlag extends ViewFlag {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<TNTPoint> filter(List<TNTPoint> records) {
|
public List<TNTPoint> filter(List<TNTPoint> records) {
|
||||||
|
if (tntToIsolate.isEmpty()) return records;
|
||||||
return records.stream()
|
return records.stream()
|
||||||
.filter(record -> tntToIsolate.contains(record.getTntId()))
|
.filter(record -> tntToIsolate.contains(record.getTntId()))
|
||||||
.collect(Collectors.toList());
|
.collect(Collectors.toList());
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren