Dieser Commit ist enthalten in:
Ursprung
870578dcf9
Commit
488866cee6
@ -91,10 +91,18 @@ public class TraceCommand extends SWCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Register(value = "isolate", description = "TRACE_COMMAND_HELP_SHOW")
|
@Register(value = "isolate", description = "TRACE_COMMAND_HELP_SHOW")
|
||||||
public void isolate(Player player, Trace trace, @ErrorMessage("test") TNTRecord... records){
|
public void isolate(Player player, Trace trace, @ErrorMessage("TRACE_RECORD_ID_INVALID") TNTRecord... records){
|
||||||
trace.isolate(player, records);
|
trace.isolate(player, records);
|
||||||
}
|
}
|
||||||
//TODO warning if nothing is shown
|
|
||||||
|
@Register(value="at", description = "TRACE_COMMAND_HELP_SHOW")
|
||||||
|
public void at(Player player, int start, int end){
|
||||||
|
for(Trace trace: manager.getAll()){
|
||||||
|
trace.renderAt(player, start, end);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ClassMapper(value = Trace.class, local = true)
|
@ClassMapper(value = Trace.class, local = true)
|
||||||
public TypeMapper<Trace> traceClassMapper(){
|
public TypeMapper<Trace> traceClassMapper(){
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren