Skip to content

Commit

Permalink
Merge pull request #1911 from stuntguy3000/patch-1
Browse files Browse the repository at this point in the history
Improve Minecraft version parsing to support Fabric
  • Loading branch information
diogotr7 authored Feb 15, 2020
2 parents cf1a787 + ac71b5d commit 9fea68f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public Minecraft() : base(new LightEventConfig {
Name = "Minecraft",
ID = "minecraft",
//ProcessNames = new[] { "java.exe", "javaw.exe" },
ProcessTitles = new[] { @"^Minecraft [0-9.]*$" }, // Match anything that has a title like "Minecraft 1.12.2" or "Minecraft 1.5")
ProcessTitles = new[] { @"^Minecraft\*? [0-9.]*" }, // Match anything that has a title like "Minecraft* 1.12.2" or "Minecraft 1.5"
ProfileType = typeof(MinecraftProfile),
OverviewControlType = typeof(Control_Minecraft),
GameStateType = typeof(GSI.GameState_Minecraft),
Expand Down

0 comments on commit 9fea68f

Please sign in to comment.