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
|
@ServerStarting
|
||||||
public void serverStarting(FMLServerStartingEvent event) {
|
public void serverStarting(FMLServerStartingEvent event) {
|
||||||
CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager();
|
event.registerServerCommand(new CommandBuildCraft());
|
||||||
commandManager.registerCommand(new CommandBuildCraft());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void loadRecipes() {
|
public void loadRecipes() {
|
||||||
|
|
Loading…
Reference in a new issue