-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9c126fd
commit b561a12
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: Lulu13022002 <[email protected]> | ||
Date: Sat, 23 Sep 2023 16:36:54 +0200 | ||
Subject: [PATCH] Fix SuspiciousStewMeta | ||
|
||
|
||
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java | ||
index 2966fa3eec7770f66c2adc61f0f47db584d017a2..1e4224b9a22bc04c2efdcbf9b560efc4d0dee1b3 100644 | ||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java | ||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java | ||
@@ -20,8 +20,8 @@ import org.bukkit.potion.PotionEffectType; | ||
@DelegateDeserialization(CraftMetaItem.SerializableMeta.class) | ||
public class CraftMetaSuspiciousStew extends CraftMetaItem implements SuspiciousStewMeta { | ||
|
||
- static final ItemMetaKey DURATION = new ItemMetaKey("EffectDuration", "duration"); | ||
- static final ItemMetaKey EFFECTS = new ItemMetaKey("Effects", "effects"); | ||
+ static final ItemMetaKey DURATION = new ItemMetaKey("duration", "duration"); // Paper | ||
+ static final ItemMetaKey EFFECTS = new ItemMetaKey(net.minecraft.world.item.SuspiciousStewItem.EFFECTS_TAG, "effects"); // Paper | ||
static final ItemMetaKey ID = new ItemMetaKey("id", "id"); | ||
|
||
private List<PotionEffect> customEffects; |