mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Fix V1451 dataconverter stat types
This commit is contained in:
parent
294bb1b03d
commit
56d8a72eee
1 changed files with 2 additions and 2 deletions
|
@ -8734,7 +8734,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+
|
+
|
||||||
+ 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..00000000000000000000000000000000
|
||||||
+ 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;
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
|
|
Loading…
Reference in a new issue