Skip to content

Commit

Permalink
Fix V1451 dataconverter stat types
Browse files Browse the repository at this point in the history
  • Loading branch information
Earthcomputer authored and kennytv committed Apr 25, 2022
1 parent d70ac03 commit ce059b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/server/0768-Rewrite-dataconverter-system.patch
Expand Up @@ -8734,7 +8734,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
+
+ switch (type) {
+ case "minecraft:mined": {
+ WalkerUtils.convert(MCTypeRegistry.ITEM_NAME, criteriaType, "id", fromVersion, toVersion);
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, criteriaType, "id", fromVersion, toVersion);
+ break;
+ }
+
Expand All @@ -8743,7 +8743,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
+ 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;
+ }
+
Expand Down

0 comments on commit ce059b4

Please sign in to comment.