mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-22 17:07:34 +01:00
Add missing step in V3818
This commit is contained in:
parent
5632210f10
commit
6fcca46674
@ -22650,7 +22650,7 @@ index 0000000000000000000000000000000000000000..29d256c2f5d5e338dc7abeb82c0f1ae9
|
|||||||
+ });
|
+ });
|
||||||
+
|
+
|
||||||
+ // 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