SteamWar/BauSystem2.0
Archiviert
12
0

Fix TraceCommand.showBlockCommand and TraceCommand.showParticleCommand

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2021-07-05 20:17:07 +02:00
Ursprung 01925ff122
Commit c79cf13cb9

Datei anzeigen

@ -153,13 +153,13 @@ public class TraceCommand extends SWCommand {
} }
@Register({"show", "block"}) @Register({"show", "block"})
public void showBlockCommand(Player p) { public void showBlockCommand(Player p, ShowModeParameterType... showModeParameterTypes) {
internalShow(p, ShowModeType.BLOCK); internalShow(p, ShowModeType.BLOCK, showModeParameterTypes);
} }
@Register({"show", "particle"}) @Register({"show", "particle"})
public void showParticleCommand(Player p) { public void showParticleCommand(Player p, ShowModeParameterType... showModeParameterTypes) {
internalShow(p, ShowModeType.PARTICLE); internalShow(p, ShowModeType.PARTICLE, showModeParameterTypes);
} }
private enum ShowModeType { private enum ShowModeType {