diff --git a/gradle.properties b/gradle.properties index a399e864e..b0661e45b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ # Sets default memory used for gradle commands. Can be overridden by user or command line properties. # This is required to provide enough memory for the Minecraft decompilation process. org.gradle.jvmargs=-Xmx3G -mod_version=1.12.0 +mod_version=1.12.1 minecraft_version=1.12.2 teslacorelib_version=1.0.15.+ teslacorelib_mc_version=1.12.2 diff --git a/src/main/java/com/buuz135/industrial/api/IndustrialForegoingHelper.java b/src/main/java/com/buuz135/industrial/api/IndustrialForegoingHelper.java index 8643871b9..5187e22e1 100644 --- a/src/main/java/com/buuz135/industrial/api/IndustrialForegoingHelper.java +++ b/src/main/java/com/buuz135/industrial/api/IndustrialForegoingHelper.java @@ -67,8 +67,14 @@ public static boolean removeBioReactorEntry(ItemStack stack) { * @param entry The LaserEntry entry to add. * @return true if it is added, false if don't. */ + @Deprecated public static boolean addLaserDrillEntry(LaserDrillEntry entry) { - throw new UnsupportedOperationException("Deprecated API Method since v1.12.0, use the new config for the Laser Drill located in config/laser_drill_ores"); + try { + throw new UnsupportedOperationException("Deprecated API Method since v1.12.0, use the new config for the Laser Drill located in config/laser_drill_ores"); + } catch (Exception e) { + e.printStackTrace(); + } + return false; } /** @@ -77,8 +83,14 @@ public static boolean addLaserDrillEntry(LaserDrillEntry entry) { * @param stack The ItemStack of a LaserDrill entry to remove. * @return true if it is removed, false if don't. */ + @Deprecated public static boolean removeLaserDrillEntry(ItemStack stack) { - throw new UnsupportedOperationException("Deprecated API Method since v1.12.0, use the new config for the Laser Drill located in config/laser_drill_ores"); + try { + throw new UnsupportedOperationException("Deprecated API Method since v1.12.0, use the new config for the Laser Drill located in config/laser_drill_ores"); + } catch (Exception e) { + e.printStackTrace(); + } + return false; } /**