Fix V1451 dataconverter stat types

This commit is contained in:
Joseph Burton 2022-04-25 18:06:04 +02:00
parent 294bb1b03d
commit 56d8a72eee

View file

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