SteamWar/BauSystem
Archiviert
13
0

TraceModes #174

Manuell gemergt
YoyoNow hat 4 Commits von TraceModes nach master 2021-01-30 13:49:43 +01:00 zusammengeführt
Nur Änderungen aus Commit c7584cd952 werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -90,7 +90,6 @@ public class CommandTrace implements CommandExecutor {
case "show": case "show":
if (args.length < 2) { if (args.length < 2) {
TraceShowManager.show(player, new EntityShowMode(player, new ShowModeParameter())); TraceShowManager.show(player, new EntityShowMode(player, new ShowModeParameter()));
// TraceShowManager.show(player, new Basic(player, new ShowModeParameter()));
} else { } else {
if (args[1].equalsIgnoreCase("gui")) { if (args[1].equalsIgnoreCase("gui")) {
GuiTraceShow.openGui(player); GuiTraceShow.openGui(player);
@ -98,16 +97,6 @@ public class CommandTrace implements CommandExecutor {
} }
ShowModeParameter showModeParameter = ShowModeParameter.parseArguments(args, 1); ShowModeParameter showModeParameter = ShowModeParameter.parseArguments(args, 1);
TraceShowManager.show(player, new EntityShowMode(player, showModeParameter)); TraceShowManager.show(player, new EntityShowMode(player, showModeParameter));
/*switch (args[1].toLowerCase()) {
case "advanced":
TraceShowManager.show(player, new Advanced(player, showModeParameter));
break;
case "basic":
case "default":
default:
TraceShowManager.show(player, new Basic(player, showModeParameter));
break;
}*/
} }
player.sendMessage(BauSystem.PREFIX + "§aAlle TNT-Positionen angezeigt"); player.sendMessage(BauSystem.PREFIX + "§aAlle TNT-Positionen angezeigt");
break; break;