WorldServer world = CommonNMS.getNative(chunk.getWorld());
Block typeBlock = CommonNMS.getBlock(type);
if (result) {
result = ChunkRef.setBlock(Conversion.toChunkHandle.convert(chunk), x, y, z, typeBlock, data);
world.methodProfiler.a("checkLight");
world.z(x, y, z);
world.methodProfiler.b();
}
if (result) {
world.applyPhysics(x, y, z, typeBlock);
}