Removed Localization Stuff.

Added Logging Option.
Logging of Exceptions is now done via AELogger
This commit is contained in:
AlgorithmX2
2014-02-07 14:37:22 -06:00
parent e18dac1437
commit b57804be06
49 changed files with 212 additions and 195 deletions
+7 -8
View File
@@ -23,7 +23,6 @@ import appeng.api.movable.IMovableHandler;
import appeng.api.movable.IMovableRegistry;
import appeng.api.util.WorldCoord;
import appeng.core.AELog;
import cpw.mods.fml.common.FMLLog;
public class CachedPlane
{
@@ -218,9 +217,9 @@ public class CachedPlane
{
wrld.loadedTileEntityList.remove( te );
}
catch (Exception _)
catch (Exception e)
{
_.printStackTrace();
AELog.error( e );
}
}
}
@@ -331,9 +330,9 @@ public class CachedPlane
{
handler.moveTile( te, wrld, x + x_offset, y + y_offset, z + z_offset );
}
catch (Throwable _)
catch (Throwable e)
{
_.printStackTrace();
AELog.error( e );
// attempt recovery...
te.worldObj = wrld;
@@ -357,9 +356,9 @@ public class CachedPlane
alernateDest.addTile( x, y, z, te, null, mr );
}
}
catch (Throwable _)
catch (Throwable e)
{
_.printStackTrace();
AELog.error( e );
}
}
@@ -373,7 +372,7 @@ public class CachedPlane
Chunk c = myChunks[x][z];
for (Method m : c.getClass().getMethods())
{
FMLLog.severe( "Chunk." + m.getName() );
AELog.severe( "Chunk." + m.getName() );
}
c.resetRelightChecks();