diff options
author | Draknyte1 <Draknyte1@hotmail.com> | 2017-12-20 23:39:49 +1000 |
---|---|---|
committer | Draknyte1 <Draknyte1@hotmail.com> | 2017-12-20 23:39:49 +1000 |
commit | 5715a32d2901922503fd850f3a68503fb77467c3 (patch) | |
tree | 7e12520fbc23844e99493d55af4410a785538e35 /src/Java/gtPlusPlus/xmod/mekanism | |
parent | 2a4795f65d98ff60a177d7d6a5552fd687d9f6e8 (diff) | |
download | GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.gz GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.tar.bz2 GT5-Unofficial-5715a32d2901922503fd850f3a68503fb77467c3.zip |
- Disabled some logging.
% Minor Project Clean-up, added missing Override annotations to 100+ methods & removed pointless casts.
% Moved Logging to it's own class.
$ Fixed Multi-block handling of Pollution.
$ Fixed the GT 5.09 material enabler system. (From My Side, it's still borked on GTs).
+ Added a Dynamic Proxy invocation for IMaterialHandler.
+ Added an AutoMap data type, which is a Auto-incremental ID'd Hashmap wrapper.
Diffstat (limited to 'src/Java/gtPlusPlus/xmod/mekanism')
-rw-r--r-- | src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java b/src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java index ce4ec38a09..da3cd268bd 100644 --- a/src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java +++ b/src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java @@ -4,8 +4,8 @@ import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import gregtech.api.util.GT_ModHandler; +import gtPlusPlus.api.objects.Logger; import gtPlusPlus.core.lib.LoadedMods; -import gtPlusPlus.core.util.Utils; import gtPlusPlus.core.util.item.ItemUtils; import gtPlusPlus.core.util.nbt.NBTUtils; import gtPlusPlus.core.util.recipe.RecipeUtils; @@ -29,7 +29,7 @@ public class HANDLER_Mekanism { public static void postInit(){ if (LoadedMods.Mekanism && !LoadedMods.RedTech){ - Utils.LOG_INFO("Performing GT recipe balance for Mek. now that it's Osmium is useless."); + Logger.INFO("Performing GT recipe balance for Mek. now that it's Osmium is useless."); //Steel Casing final ItemStack tSteelCasing = ItemUtils.simpleMetaStack("Mekanism:BasicBlock:8", 8, 1); @@ -263,12 +263,12 @@ public class HANDLER_Mekanism { } } } catch (ClassNotFoundException | NoSuchMethodException | SecurityException | IllegalAccessException | IllegalArgumentException | InvocationTargetException e) { - Utils.LOG_INFO("[Mek] Failed to use the built-in recipe remover from Mekanism."); + Logger.INFO("[Mek] Failed to use the built-in recipe remover from Mekanism."); } if (!removed){ removed = GT_ModHandler.removeRecipeByOutput(item); } - Utils.LOG_INFO("[Mek] Successfully removed the recipe for "+item.getDisplayName()+"."); + Logger.INFO("[Mek] Successfully removed the recipe for "+item.getDisplayName()+"."); return removed; } |