WorldEdit

WorldEdit

42M Downloads

Restore of old style tile entities with inventories is broken

LadyCailinBot opened this issue ยท 2 comments

commented

WORLDEDIT-3659 - Reported by Meaglin

Old AnvilChunks store items in tile entities by id while "new" AnvilChunks use the new minecraft ids. This breaks the restoring of chests and other tile entities with inventories because minecraft does not recognize the old nbt format anymore.

Tested on Spigot 1.12.2 using Worldedit 6.1.7.3 and also Worldedit built using latest sources (f67f2ed)
I have verified that the nbt data is getting passed to the BukkitImplAdapter :), but after that i have not been able to test it.

Update: It seems that new chunks get a new tag besides "level" named "DataVersion" that could be used to detect this.

commented

Comment by wizjany

Aikar has been doing some work on making DFU available easily, that could probably be used here.

commented

Comment by wizjany

DFUs are now implemented so this should mostly work.