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/tileentities/base/TileEntityBase.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/Java/gtPlusPlus/core/tileentities/base') diff --git a/src/Java/gtPlusPlus/core/tileentities/base/TileEntityBase.java b/src/Java/gtPlusPlus/core/tileentities/base/TileEntityBase.java index 9acb5ae396..81dfb1acf4 100644 --- a/src/Java/gtPlusPlus/core/tileentities/base/TileEntityBase.java +++ b/src/Java/gtPlusPlus/core/tileentities/base/TileEntityBase.java @@ -2,7 +2,7 @@ package gtPlusPlus.core.tileentities.base; import java.util.UUID; -import gtPlusPlus.core.util.Utils; +import gtPlusPlus.api.objects.Logger; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.ISidedInventory; import net.minecraft.item.ItemStack; @@ -60,7 +60,7 @@ public abstract class TileEntityBase extends TileEntity implements ISidedInvento onPreTick(); } } catch (Throwable t){ - Utils.LOG_ERROR("Tile Entity Encountered an error in it's pre-tick stage."); + Logger.ERROR("Tile Entity Encountered an error in it's pre-tick stage."); t.printStackTrace(); } try{ @@ -68,7 +68,7 @@ public abstract class TileEntityBase extends TileEntity implements ISidedInvento onTick(); } } catch (Throwable t){ - Utils.LOG_ERROR("Tile Entity Encountered an error in it's tick stage."); + Logger.ERROR("Tile Entity Encountered an error in it's tick stage."); t.printStackTrace(); } try{ @@ -76,7 +76,7 @@ public abstract class TileEntityBase extends TileEntity implements ISidedInvento onPostTick(); } } catch (Throwable t){ - Utils.LOG_ERROR("Tile Entity Encountered an error in it's post-tick stage."); + Logger.ERROR("Tile Entity Encountered an error in it's post-tick stage."); t.printStackTrace(); } } @@ -92,7 +92,7 @@ public abstract class TileEntityBase extends TileEntity implements ISidedInvento processRecipe(); } } catch (Throwable t){ - Utils.LOG_ERROR("Tile Entity Encountered an error in it's processing of a recipe stage."); + Logger.ERROR("Tile Entity Encountered an error in it's processing of a recipe stage."); t.printStackTrace(); } return true; -- cgit