mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-19 19:59:58 +00:00
Switch to using non-static Lang class
This commit is contained in:
1 parent
2508b9fba7
commit
f3ac159c52
141 files changed
+534
-553
No files matched your search
@@ -1,8 +1,7 @@
|
||||
package crazypants.enderio.machine;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
import com.enderio.core.common.util.Lang;
|
||||
import crazypants.enderio.EnderIO;
|
||||
|
||||
public enum RedstoneControlMode {
|
||||
|
||||
@@ -15,7 +14,7 @@ public enum RedstoneControlMode {
|
||||
}
|
||||
|
||||
public String getTooltip() {
|
||||
return Lang.localize("gui.tooltip.redstoneControlMode." + name().toLowerCase());
|
||||
return EnderIO.lang.localize("gui.tooltip.redstoneControlMode." + name().toLowerCase());
|
||||
}
|
||||
|
||||
public static boolean isConditionMet(RedstoneControlMode redstoneControlMode, int powerLevel) {
|
||||
|
||||
Reference in new issue
Block a user