Merge pull request #611 from viper283/patch-1

Fix /buildcraft not working in singleplayer
This commit is contained in:
SirSengir 2013-01-28 14:56:18 -08:00
commit 65dd923bb0

View file

@ -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() {