3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-24 07:10:10 +01:00

Fix PotionMeta not applying the correct Id. Fixes BUKKIT-3193

Dieser Commit ist enthalten in:
feildmaster 2012-12-18 18:39:21 -06:00
Ursprung d73e5ab469
Commit d9708d032e

Datei anzeigen

@ -25,7 +25,7 @@ class CraftMetaPotion extends CraftMetaItem implements PotionMeta {
static final ItemMetaKey AMBIENT = new ItemMetaKey("Ambient", "ambient"); static final ItemMetaKey AMBIENT = new ItemMetaKey("Ambient", "ambient");
static final ItemMetaKey DURATION = new ItemMetaKey("Duration", "duration"); static final ItemMetaKey DURATION = new ItemMetaKey("Duration", "duration");
static final ItemMetaKey POTION_EFFECTS = new ItemMetaKey("CustomPotionEffects", "custom-effects"); static final ItemMetaKey POTION_EFFECTS = new ItemMetaKey("CustomPotionEffects", "custom-effects");
static final ItemMetaKey ID = new ItemMetaKey("ID", "potion-id"); static final ItemMetaKey ID = new ItemMetaKey("Id", "potion-id");
private List<PotionEffect> customEffects; private List<PotionEffect> customEffects;