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/core/recipe/common/CI.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Java/gtPlusPlus/core/recipe/common') diff --git a/src/Java/gtPlusPlus/core/recipe/common/CI.java b/src/Java/gtPlusPlus/core/recipe/common/CI.java index 2d857ca25a..9159025922 100644 --- a/src/Java/gtPlusPlus/core/recipe/common/CI.java +++ b/src/Java/gtPlusPlus/core/recipe/common/CI.java @@ -2,6 +2,7 @@ package gtPlusPlus.core.recipe.common; import gregtech.api.enums.*; import gregtech.api.util.GT_ModHandler; +import gtPlusPlus.api.objects.Logger; import gtPlusPlus.core.item.ModItems; import gtPlusPlus.core.lib.CORE; import gtPlusPlus.core.material.ALLOY; @@ -389,18 +390,18 @@ public class CI { if (material instanceof Materials){ //return (ItemStack) type.get(material); String materialName = ((Materials) material).mDefaultLocalName; - Utils.LOG_INFO("Searching for a component named "+type.name()+materialName); + Logger.INFO("Searching for a component named "+type.name()+materialName); //return ItemUtils.getItemStackOfAmountFromOreDict(type.name()+materialName, 1); return (type.name()+materialName); } else { String materialName = (Utils.sanitizeString(((Material) material).getLocalizedName())); - Utils.LOG_INFO("Searching for a component named "+type.name()+materialName); + Logger.INFO("Searching for a component named "+type.name()+materialName); //return ItemUtils.getItemStackOfAmountFromOreDict(type.name()+materialName, 1); return (type.name()+materialName); } } - Utils.LOG_INFO("[Components] Failed getting a tiered component. "+type.name()+" | "+tier); + Logger.INFO("[Components] Failed getting a tiered component. "+type.name()+" | "+tier); return null; } -- cgit