diff options
author | Nassim Jahnke <[email protected]> | 2024-05-04 22:49:48 +0200 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-05-04 22:50:20 +0200 |
commit | 6fcca46674f7ebbc261bd63339fbdcba21ab5133 (patch) | |
tree | e8bc7b0ce8543c95e111c77b48278c8d78b9f9bf | |
parent | 5632210f10e520ce70a647b2b2bd45efde4d039b (diff) | |
download | Paper-6fcca46674f7ebbc261bd63339fbdcba21ab5133.tar.gz Paper-6fcca46674f7ebbc261bd63339fbdcba21ab5133.zip |
Add missing step in V3818
-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); |