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
public void serverStarting(FMLServerStartingEvent event) {
CommandHandler commandManager = (CommandHandler) event.getServer().getCommandManager();
commandManager.registerCommand(new CommandBuildCraft());
event.registerServerCommand(new CommandBuildCraft());
}
public void loadRecipes() {