diff options
Diffstat (limited to 'patches/server/0976-Rewrite-dataconverter-system.patch')
-rw-r--r-- | patches/server/0976-Rewrite-dataconverter-system.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/server/0976-Rewrite-dataconverter-system.patch b/patches/server/0976-Rewrite-dataconverter-system.patch index 8b59af4e35..0abf2badef 100644 --- a/patches/server/0976-Rewrite-dataconverter-system.patch +++ b/patches/server/0976-Rewrite-dataconverter-system.patch @@ -22650,7 +22650,7 @@ index 0000000000000000000000000000000000000000..29d256c2f5d5e338dc7abeb82c0f1ae9 + }); + + // Step 3 -+ MCTypeRegistry.DATA_COMPONENTS.addStructureWalker(VERSION, new DataWalker<>() { ++ MCTypeRegistry.DATA_COMPONENTS.addStructureWalker(VERSION, 3, new DataWalker<>() { + private static void walkBlockPredicates(final MapType<String> root, final long fromVersion, final long toVersion) { + if (root.hasKey("blocks", ObjectType.STRING)) { + WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, root, "blocks", fromVersion, toVersion); |