aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJoseph Burton <[email protected]>2022-04-25 18:06:04 +0200
committerNassim Jahnke <[email protected]>2022-04-25 18:06:04 +0200
commitce059b4f993faf1327f5acb6745e469215009808 (patch)
treee134773e4b3dd61099f573551cd3c35ad888a3b8
parentd70ac039e8daca4672a3705b45f27f596c660c20 (diff)
downloadPaper-ce059b4f993faf1327f5acb6745e469215009808.tar.gz
Paper-ce059b4f993faf1327f5acb6745e469215009808.zip
Fix V1451 dataconverter stat types
-rw-r--r--patches/server/0768-Rewrite-dataconverter-system.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0768-Rewrite-dataconverter-system.patch b/patches/server/0768-Rewrite-dataconverter-system.patch
index 89bdb29386..0e5060a537 100644
--- a/patches/server/0768-Rewrite-dataconverter-system.patch
+++ b/patches/server/0768-Rewrite-dataconverter-system.patch
@@ -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;
+ }
+
@@ -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;
+ }
+