Fix a little chunk loading issue
This commit is contained in:
parent
e6051ee2e5
commit
de93c376f6
1 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ public class Coord4D
|
|||
*/
|
||||
public TileEntity getTileEntity(IBlockAccess world)
|
||||
{
|
||||
if(!(world instanceof World && exists((World)world)))
|
||||
if(world instanceof World && !exists((World)world))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ public class Coord4D
|
|||
*/
|
||||
public Block getBlock(IBlockAccess world)
|
||||
{
|
||||
if(!(world instanceof World && exists((World)world)))
|
||||
if(world instanceof World && !exists((World)world))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue