Some additional fixes from other branch.

This commit is contained in:
Sebastian Hartte
2020-05-30 22:18:26 +02:00
parent 16d6d55d7f
commit ec3b464655
139 changed files with 1489 additions and 1485 deletions
@@ -39,7 +39,7 @@ public class ChunkOnly extends StandardWorld
public ChunkOnly( final World w, final int cx, final int cz )
{
super( w );
this.target = w.getChunkFromChunkCoords( cx, cz );
this.target = w.getChunk( cx, cz );
this.cx = cx;
this.cz = cz;
}
@@ -73,7 +73,7 @@ public class ChunkOnly extends StandardWorld
{
if( this.range( x, y, z ) )
{
return this.target.getBlockState( x, y, z ).getBlock();
return this.target.getBlockState( new BlockPos(x, y, z) ).getBlock();
}
return Platform.AIR_BLOCK;
}