@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@ms/bukkit",
|
||||
"version": "0.2.0",
|
||||
"description": "MiaoScript api package",
|
||||
"description": "MiaoScript bukkit package",
|
||||
"keywords": [
|
||||
"miaoscript",
|
||||
"minecraft",
|
||||
|
@ -19,7 +19,6 @@ export class BukkitCommand extends command.Command {
|
||||
init() {
|
||||
this.commandMap = reflect.on(Bukkit.getPluginManager()).get('commandMap').get();
|
||||
}
|
||||
|
||||
create(plugin: any, command: string) {
|
||||
var cmd = this.commandMap.getCommand(command)
|
||||
if (cmd && cmd instanceof PluginCommand) { return cmd };
|
||||
|
Reference in New Issue
Block a user