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
+4 -4
View File
@@ -5,9 +5,9 @@ import java.util.EnumSet;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ChatMessageComponent;
import net.minecraft.util.ChatComponentText;
import net.minecraft.world.World;
import net.minecraftforge.common.ForgeDirection;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.networking.IGridConnection;
import appeng.api.networking.IGridHost;
import appeng.api.networking.IGridNode;
@@ -63,7 +63,7 @@ public class ToolDebugCard extends AEBaseItem
}
else
{
TileEntity te = world.getBlockTileEntity( x, y, z );
TileEntity te = world.getTileEntity( x, y, z );
if ( te instanceof IGridHost )
{
@@ -144,7 +144,7 @@ public class ToolDebugCard extends AEBaseItem
private void outputMsg(EntityPlayer player, String string)
{
player.sendChatToPlayer( ChatMessageComponent.createFromText( string ) );
player.addChatMessage( new ChatComponentText( string ) );
}
}