Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-14 18:40:10 +01:00
Add missing step in V3818
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren