Archiviert
13
0

Fix V1451 dataconverter stat types

Dieser Commit ist enthalten in:
Joseph Burton 2022-04-25 18:06:04 +02:00 committet von Nassim Jahnke
Ursprung d70ac039e8
Commit ce059b4f99
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 6BE3B555EBC5982B

Datei anzeigen

@ -8734,7 +8734,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
+ +
+ switch (type) { + switch (type) {
+ case "minecraft:mined": { + case "minecraft:mined": {
+ WalkerUtils.convert(MCTypeRegistry.ITEM_NAME, criteriaType, "id", fromVersion, toVersion); + WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, criteriaType, "id", fromVersion, toVersion);
+ break; + break;
+ } + }
+ +
@ -8743,7 +8743,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
+ case "minecraft:broken": + case "minecraft:broken":
+ case "minecraft:picked_up": + case "minecraft:picked_up":
+ case "minecraft:dropped": { + case "minecraft:dropped": {
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, criteriaType, "id", fromVersion, toVersion); + WalkerUtils.convert(MCTypeRegistry.ITEM_NAME, criteriaType, "id", fromVersion, toVersion);
+ break; + break;
+ } + }
+ +