Merge pull request #611 from viper283/patch-1
Fix /buildcraft not working in singleplayer
This commit is contained in:
commit
65dd923bb0
1 changed files with 1 additions and 2 deletions
|
@ -295,8 +295,7 @@ public class BuildCraftCore {
|
|||
|
||||
@ServerStarting
|
||||
public void serverStarting(FMLServerStartingEvent event) {
|
||||
CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager();
|
||||
commandManager.registerCommand(new CommandBuildCraft());
|
||||
event.registerServerCommand(new CommandBuildCraft());
|
||||
}
|
||||
|
||||
public void loadRecipes() {
|
||||
|
|
Loading…
Reference in a new issue