A few corner cases in GUI checks, closes #795

This commit is contained in:
Aidan Brady 2014-01-08 19:51:05 -05:00
parent 88da994a27
commit 2644fed4f8
2 changed files with 10 additions and 0 deletions

View file

@ -304,6 +304,11 @@ public class ClientProxy extends CommonProxy
{
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
if(tileEntity == null)
{
return null;
}
switch(ID)
{
case 0:

View file

@ -267,6 +267,11 @@ public class CommonProxy
{
TileEntity tileEntity = world.getBlockTileEntity(x, y, z);
if(tileEntity == null)
{
return null;
}
switch(ID)
{
case 0: