mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Add missing step in V3818
This commit is contained in:
parent
4473bf06e0
commit
7b2ce17e23
@ -22650,7 +22650,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ });
|
+ });
|
||||||
+
|
+
|
||||||
+ // Step 3
|
+ // 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) {
|
+ private static void walkBlockPredicates(final MapType<String> root, final long fromVersion, final long toVersion) {
|
||||||
+ if (root.hasKey("blocks", ObjectType.STRING)) {
|
+ if (root.hasKey("blocks", ObjectType.STRING)) {
|
||||||
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, root, "blocks", fromVersion, toVersion);
|
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, root, "blocks", fromVersion, toVersion);
|
||||||
|
Loading…
Reference in New Issue
Block a user