Skip to content

Commit ce059b4

Browse files
Earthcomputerkennytv
authored andcommitted
Fix V1451 dataconverter stat types
1 parent d70ac03 commit ce059b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/server/0768-Rewrite-dataconverter-system.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8734,7 +8734,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
87348734
+
87358735
+ switch (type) {
87368736
+ case "minecraft:mined": {
8737-
+ WalkerUtils.convert(MCTypeRegistry.ITEM_NAME, criteriaType, "id", fromVersion, toVersion);
8737+
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, criteriaType, "id", fromVersion, toVersion);
87388738
+ break;
87398739
+ }
87408740
+
@@ -8743,7 +8743,7 @@ index 0000000000000000000000000000000000000000..a20d258814b0d2d0fa01d45be43a6698
87438743
+ case "minecraft:broken":
87448744
+ case "minecraft:picked_up":
87458745
+ case "minecraft:dropped": {
8746-
+ WalkerUtils.convert(MCTypeRegistry.BLOCK_NAME, criteriaType, "id", fromVersion, toVersion);
8746+
+ WalkerUtils.convert(MCTypeRegistry.ITEM_NAME, criteriaType, "id", fromVersion, toVersion);
87478747
+ break;
87488748
+ }
87498749
+

0 commit comments

Comments
 (0)