Ported to 1.7

This commit is contained in:
AlgorithmX2
2014-02-08 19:34:52 -06:00
parent 30c1deb8cf
commit d50c7f6312
328 changed files with 2209 additions and 2311 deletions
+3 -3
View File
@@ -8,7 +8,7 @@ import java.util.concurrent.Callable;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.exceptions.FailedConnection;
import appeng.api.networking.GridFlags;
import appeng.api.networking.GridNotification;
@@ -106,7 +106,7 @@ public class GridNode implements IGridNode, IPathItem
node.setLong( "k", lastSecurityKey );
node.setLong( "g", myStorage.getID() );
nodeData.setCompoundTag( name, node );
nodeData.setTag( name, node );
}
else
nodeData.removeTag( name );
@@ -345,7 +345,7 @@ public class GridNode implements IGridNode, IPathItem
{
if ( world.blockExists( x, y, z ) )
{
TileEntity te = world.getBlockTileEntity( x, y, z );
TileEntity te = world.getTileEntity( x, y, z );
if ( te instanceof IGridHost )
return (IGridHost) te;
}