Added support for dynamic command registration.

This commit is contained in:
zml2008
2011-12-24 22:34:53 -08:00
parent a1e239d08c
commit c8c0c69f6d
12 changed files with 335 additions and 372 deletions

View File

@@ -19,6 +19,8 @@
package com.sk89q.worldedit;
import com.sk89q.minecraft.util.commands.Command;
import java.util.Collections;
import java.util.List;
@@ -64,4 +66,8 @@ public abstract class ServerInterface {
public List<LocalWorld> getWorlds() {
return Collections.emptyList();
}
public void onCommandRegistration(List<Command> commands) {
// Do nothing :)
}
}