From 5715a32d2901922503fd850f3a68503fb77467c3 Mon Sep 17 00:00:00 2001 From: Draknyte1 Date: Wed, 20 Dec 2017 23:39:49 +1000 Subject: - 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. --- src/Java/gtPlusPlus/xmod/mekanism/HANDLER_Mekanism.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Java/gtPlusPlus/xmod/mekanism') 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; } -- cgit