mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-11 07:47:55 +00:00
clean up
This commit is contained in:
1 parent
6061dc8227
commit
9d95dec6af
4 files changed
+16
-1257
No files matched your search
@@ -2,6 +2,7 @@ package com.glodblock.github.util;
|
||||
|
||||
import appeng.api.config.ActionItems;
|
||||
import appeng.api.config.Settings;
|
||||
import appeng.api.config.Upgrades;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.core.localization.ButtonToolTips;
|
||||
import appeng.core.localization.GuiText;
|
||||
@@ -23,10 +24,19 @@ public final class ModAndClassUtil {
|
||||
public static boolean isCraftStatus;
|
||||
public static boolean isSearchBar;
|
||||
public static boolean isShiftTooltip;
|
||||
public static boolean isBigInterface;
|
||||
|
||||
@SuppressWarnings("all")
|
||||
public static void init() {
|
||||
|
||||
try {
|
||||
Field d = Upgrades.class.getDeclaredField("PATTERN_CAPACITY");
|
||||
if (d == null) isBigInterface = false;
|
||||
isBigInterface = true;
|
||||
} catch (NoSuchFieldException e) {
|
||||
isBigInterface = false;
|
||||
}
|
||||
|
||||
try {
|
||||
Field d = GuiText.class.getDeclaredField("HoldShiftForTooltip");
|
||||
if (d == null) isShiftTooltip = false;
|
||||
|
||||
Reference in new issue
Block a user