mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
oops
This commit is contained in:
parent
f129ef488a
commit
826be80e2f
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ public class ShulkerBoxItem extends BlockItem {
|
|||
} else {
|
||||
// Manual checks for potions/tipped arrows
|
||||
if (boxMapping.getJavaItem() instanceof PotionItem || boxMapping.getJavaItem() instanceof ArrowItem) {
|
||||
PotionContents potionContents = components.get(DataComponentType.POTION_CONTENTS);
|
||||
PotionContents potionContents = boxComponents.get(DataComponentType.POTION_CONTENTS);
|
||||
if (potionContents != null) {
|
||||
Potion potion = Potion.getByJavaId(potionContents.getPotionId());
|
||||
if (potion != null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue