mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
31 lines
741 B
Java
31 lines
741 B
Java
package appeng.api.exceptions;
|
|
|
|
import cpw.mods.fml.common.FMLLog;
|
|
import net.minecraft.world.World;
|
|
import appeng.api.DimentionalCoord;
|
|
|
|
public class AppEngTileMissingException extends Exception {
|
|
|
|
private static final long serialVersionUID = -3502227742711078681L;
|
|
public DimentionalCoord dc;
|
|
|
|
@Override
|
|
public void printStackTrace() {
|
|
try
|
|
{
|
|
FMLLog.info( "[AppEng] Missing Tile at "+dc.x+", "+dc.y+", "+dc.z+" in +"+dc.getWorld().getWorldInfo().getVanillaDimension() );
|
|
}
|
|
catch( Throwable _ )
|
|
{
|
|
FMLLog.info( "[AppEng] Missing Tile at "+dc.x+", "+dc.y+", "+dc.z );
|
|
}
|
|
super.printStackTrace();
|
|
}
|
|
|
|
public AppEngTileMissingException(World w, int x, int y, int z)
|
|
{
|
|
dc = new DimentionalCoord( w, x, y, z );
|
|
}
|
|
|
|
}
|