diff options
author | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 16:13:21 +0200 |
---|---|---|
committer | Lorenz <ESs95s3P5z8Pheb> | 2022-07-08 16:13:21 +0200 |
commit | 5fd347181e3ab2a6e9c02413d2363b8e6a3243ee (patch) | |
tree | 2ed886bf44f84014c8b069f33da16d936a2181b5 | |
parent | 4463c7fa78f886a8abc09e867dd17cde2a685ad4 (diff) | |
parent | 9fa35d8e86c76548f8cbe5d78e2f082104ab93bb (diff) | |
download | skyhanni-5fd347181e3ab2a6e9c02413d2363b8e6a3243ee.tar.gz skyhanni-5fd347181e3ab2a6e9c02413d2363b8e6a3243ee.tar.bz2 skyhanni-5fd347181e3ab2a6e9c02413d2363b8e6a3243ee.zip |
Merge remote-tracking branch 'origin/master'
# Conflicts:
# src/main/java/at/lorenz/mod/LorenzMod.java
# src/main/java/at/lorenz/mod/config/Features.java
# src/main/java/com/thatgravyboat/skyblockhud_2/core/config/Config.java
# src/main/java/com/thatgravyboat/skyblockhud_2/handlers/WarpHandler.java
# src/main/java/com/thatgravyboat/skyblockhud_2/textures/Textures.java
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud_2/commands/Commands.java | 2 | ||||
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud_2/utils/Utils.java | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud_2/commands/Commands.java b/src/main/java/com/thatgravyboat/skyblockhud_2/commands/Commands.java index 21bf4529f..778c9d6c0 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud_2/commands/Commands.java +++ b/src/main/java/com/thatgravyboat/skyblockhud_2/commands/Commands.java @@ -80,7 +80,7 @@ public class Commands { ClientCommandHandler.instance.registerCommand(settingsCommand2); // ClientCommandHandler.instance.registerCommand(mapCommand); // ClientCommandHandler.instance.registerCommand(devCommand); -// ClientCommandHandler.instance.registerCommand(new CrystalWaypoints.WaypointCommand()); + // ClientCommandHandler.instance.registerCommand(new CrystalWaypoints.WaypointCommand()); } // private static void sendSBHMessage(ICommandSender sender, String message) { // sender.addChatMessage(new ChatComponentText("[" + EnumChatFormatting.RED + EnumChatFormatting.BOLD + "SkyBlockHud" + EnumChatFormatting.RESET + "] : " + EnumChatFormatting.GRAY + message)); 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; |