Fix thread not attached for MC 1.12 indirect char pipe

This commit is contained in:
khanhduytran0 2020-11-07 19:16:53 +07:00
parent 423ddb2d10
commit 057ef13c40
4 changed files with 19 additions and 14 deletions

View file

@ -145,7 +145,9 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
mProfile = PojavProfile.getCurrentProfileContent(this);
mVersionInfo = Tools.getVersionInfo(mProfile.getVersion());
// Minecraft 1.12.x special case: use indirect char pipe
CallbackBridge.isMinecraft1p12 = mVersionInfo.assets.startsWith("1.12");
setTitle("Minecraft " + mProfile.getVersion());
// Minecraft 1.13+