aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud_2/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud_2/utils')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java b/src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java
index d69a29766..9bfdd2842 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java
@@ -40,12 +40,12 @@ public class Utils {
return input.toLowerCase().replace(" ", "").replace(replace, "");
}
-// public static boolean isPlayerHoldingRedstone(EntityPlayerSP player) {
-// if (!LorenzMod.config.main.requireRedstone) return true;
-// ArrayList<Item> redstoneItems = new ArrayList<>(Arrays.asList(Items.redstone, Items.repeater, Items.comparator, Item.getByNameOrId("minecraft:redstone_torch")));
-// if (player.getHeldItem() != null) return redstoneItems.contains(player.getHeldItem().getItem());
-// return false;
-// }
+ // public static boolean isPlayerHoldingRedstone(EntityPlayerSP player) {
+ // if (!LorenzMod.config.main.requireRedstone) return true;
+ // ArrayList<Item> redstoneItems = new ArrayList<>(Arrays.asList(Items.redstone, Items.repeater, Items.comparator, Item.getByNameOrId("minecraft:redstone_torch")));
+ // if (player.getHeldItem() != null) return redstoneItems.contains(player.getHeldItem().getItem());
+ // return false;
+ // }
public static boolean inRangeInclusive(int value, int min, int max) {
return value <= max && value >= min;