mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 08:05:34 -04:00
Back to direct pipe on 1.12.2 and below
This commit is contained in:
parent
e512cb467b
commit
7034b61c77
@ -124,12 +124,11 @@ public class BaseMainActivity extends LoggableActivity {
|
|||||||
|
|
||||||
mProfile = PojavProfile.getCurrentProfileContent(this);
|
mProfile = PojavProfile.getCurrentProfileContent(this);
|
||||||
mVersionInfo = Tools.getVersionInfo(mProfile.getVersion());
|
mVersionInfo = Tools.getVersionInfo(mProfile.getVersion());
|
||||||
// Minecraft 1.12.x special case: use indirect char pipe
|
|
||||||
|
|
||||||
setTitle("Minecraft " + mProfile.getVersion());
|
setTitle("Minecraft " + mProfile.getVersion());
|
||||||
|
|
||||||
// Minecraft 1.13+
|
// Minecraft 1.13+
|
||||||
isInputStackCall = true; // mVersionInfo.arguments != null;
|
isInputStackCall = mVersionInfo.arguments != null;
|
||||||
|
|
||||||
this.displayMetrics = Tools.getDisplayMetrics(this);
|
this.displayMetrics = Tools.getDisplayMetrics(this);
|
||||||
CallbackBridge.windowWidth = displayMetrics.widthPixels / scaleFactor;
|
CallbackBridge.windowWidth = displayMetrics.widthPixels / scaleFactor;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user