help command
This commit is contained in:
parent
fc8603497a
commit
fd84384f10
3 changed files with 68 additions and 0 deletions
|
@ -11,6 +11,7 @@ import com.google.common.collect.Maps;
|
|||
|
||||
import game.Server;
|
||||
import game.color.TextColor;
|
||||
import game.command.commands.CommandHelp;
|
||||
import game.command.commands.CommandSpawn;
|
||||
import game.log.Log;
|
||||
|
||||
|
@ -62,6 +63,10 @@ public class ScriptEnvironment {
|
|||
return this.server;
|
||||
}
|
||||
|
||||
public Map<String, CachedExecutable> getExecutables() {
|
||||
return this.executables;
|
||||
}
|
||||
|
||||
public ScriptExecutor getExecutor() {
|
||||
return this.currentExecutor;
|
||||
}
|
||||
|
@ -191,5 +196,7 @@ public class ScriptEnvironment {
|
|||
});
|
||||
|
||||
this.registerExecutable(new CommandSpawn());
|
||||
|
||||
this.registerExecutable(new CommandHelp(this));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue