mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 15:49:00 +01:00
Fix SuspiciousStewMeta
This commit is contained in:
parent
645afb11f7
commit
8560e471b8
1 changed files with 21 additions and 0 deletions
21
patches/server/Fix-SuspiciousStewMeta.patch
Normal file
21
patches/server/Fix-SuspiciousStewMeta.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
|
||||
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 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMetaSuspiciousStew.java
|
||||
@@ -0,0 +0,0 @@ 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;
|
Loading…
Reference in a new issue