@@ -124,28 +124,7 @@ private PrettyPrinter badCoreMod(final MixinTargetAlreadyLoadedException ex) {
124124
125125 private PrettyPrinter itsAllGoneHorriblyWrong () {
126126 final String forgeVer = Main .getManifestAttribute ("TargetForgeVersion" , null );
127- if (forgeVer != null && !forgeVer .equals (ForgeVersion .getVersion ())) {
128- return new PrettyPrinter ()
129- .add ()
130- .add ("Oh dear. It seems like this version of Sponge is not compatible with the version" )
131- .add ("of Forge you are running." )
132- .add ()
133- .hr ('-' )
134- .add ()
135- .add ("A error was encountered whilst patching:" )
136- .add ()
137- .add (" One or more Sponge patches could not be applied whilst loading Sponge, this is" )
138- .add (" a permanent error and you must either:" )
139- .add ()
140- .add (" * Use the correct build of Forge for this version of Sponge (%s)" , forgeVer )
141- .add ()
142- .add (" * Use a version of Sponge for built for your version of Forge" )
143- .add ()
144- .addWrapped (" The patch which failed requires Forge build: %s" , forgeVer )
145- .addWrapped (" but you are running build: %s" , ForgeVersion .getVersion ());
146- }
147127 final String forgeMessage = forgeVer == null ? "is usually specified in the sponge mod's jar filename" : "version is for " + forgeVer ;
148-
149128 return new PrettyPrinter ()
150129 .add ()
151130 .add ("Oh dear. Something went wrong and the server had to shut down!" )
@@ -160,7 +139,7 @@ private PrettyPrinter itsAllGoneHorriblyWrong() {
160139 .add (" see if the problem goes away." )
161140 .add ()
162141 .add (" * You are using the wrong version of Minecraft Forge. You must use the" )
163- .addWrapped (" correct version of Forge when running Sponge, this %s (you are running %s)" , forgeMessage , ForgeVersion .getVersion ())
142+ .addWrapped (" correct version of Forge when running Sponge, this %s or later (you are running %s)" , forgeMessage , ForgeVersion .getVersion ())
164143 .add ()
165144 .add (" * An error exists in Sponge itself. Ensure you are running the latest version" )
166145 .add (" of Sponge." )
0 commit comments