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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user