1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-11-13 03:43:08 +00:00

Get the build working I guess?

This commit is contained in:
SquidDev
2019-06-09 09:07:31 +01:00
parent 15d4a55cd8
commit d9cadf64e8
11 changed files with 13 additions and 13 deletions

View File

@@ -59,7 +59,7 @@ public final class TickScheduler
World world = tile.getWorld();
BlockPos pos = tile.getPos();
if( world != null && pos != null && world.isBlockLoaded( pos ) && world.getTileEntity( pos ) == tile )
if( world != null && pos != null && world.isAreaLoaded( pos, 0 ) && world.getTileEntity( pos ) == tile )
{
world.getPendingBlockTicks().scheduleTick( pos, tile.getBlockState().getBlock(), 0 );
}