9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-24 09:39:16 +00:00

apply folia modification to 1.21.7 nms

This commit is contained in:
Julian Krings
2025-07-19 22:53:06 +02:00
parent c3442ab2ce
commit fcbbd2135b

View File

@@ -210,7 +210,7 @@ public class NMSBinding implements INMSBinding {
net.minecraft.nbt.CompoundTag tag = (net.minecraft.nbt.CompoundTag) convertToTag(map, 0, 64);
var level = ((CraftWorld) pos.getWorld()).getHandle();
var blockPos = new BlockPos(pos.getBlockX(), pos.getBlockY(), pos.getBlockZ());
J.s(() -> merge(level, blockPos, tag));
Iris.platform.getRegionScheduler().run(pos, () -> merge(level, blockPos, tag));
}
private void merge(ServerLevel level, BlockPos blockPos, net.minecraft.nbt.CompoundTag tag) {