Skip to content

Commit

Permalink
Optifine在1.21.x无法与Forge正常共存
Browse files Browse the repository at this point in the history
  • Loading branch information
hadesanc1 committed Jan 9, 2025
1 parent 12639b5 commit df16d05
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2102,7 +2102,7 @@ Retry:
Dim MinecraftCode As Integer = If(Request.MinecraftName.Contains("."), Val(Request.MinecraftName.Split(".")(1)), 0)
Dim OptiFineAsMod As Boolean = Request.OptiFineEntry IsNot Nothing AndAlso '1. 选择了 OptiFine
(Request.FabricVersion IsNot Nothing OrElse '2. 选择了 Fabric...
(Request.ForgeEntry IsNot Nothing AndAlso MinecraftCode >= 14 AndAlso MinecraftCode <= 15 or MinecraftCode = 21)) '...或者 Forge 1.14~15(#4134)
(Request.ForgeEntry IsNot Nothing AndAlso MinecraftCode >= 14 AndAlso MinecraftCode <= 15 Or MinecraftCode = 21)) '...或者 Forge 1.14~15(#4134)
Dim ModsFolder As String = New McVersion(OutputFolder).GetPathIndie(True) & "mods\"

If OptiFineAsMod Then
Expand Down

0 comments on commit df16d05

Please sign in to comment.