Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ancient Altar will rename potion items #3507

Closed
4 tasks done
xMikux opened this issue Mar 27, 2022 · 6 comments · Fixed by #3784
Closed
4 tasks done

Ancient Altar will rename potion items #3507

xMikux opened this issue Mar 27, 2022 · 6 comments · Fixed by #3784
Labels
🐞 Bug Report A bug that needs to be fixed. 🧨 Confirmed Bug This bug has been confirmed by our team. ✔ Resolved This Issue has been resolved.

Comments

@xMikux
Copy link

xMikux commented Mar 27, 2022

❗ Checklist

  • I am using the official english version of Slimefun and did not modify the jar.
  • I am using an up to date "DEV" (not "RC") version of Slimefun.
  • I am aware that issues related to Slimefun addons need to be reported on their bug trackers and not here.
  • I searched for similar open issues and could not find an existing bug report on this.

📍 Description

Ancient Altar will rename the potion, splash potion, lingering potion and potion arrow name.

📑 Reproduction Steps

  1. Place potion type item to Ancient Altar
  2. Take it down
  3. See it will show include [] item name

💡 Expected Behavior

Don't rename the any potion type items, and take back will show normal vanilla item name.

📷 Screenshots / Videos

Before put on the Ancient Altar
image
image
image
image

After take down from the Ancient Altar
image
image
image
image

📜 Server Log

No response

📂 /error-reports/ folder

No response

💻 Server Software

Paper

🎮 Minecraft Version

1.18.x

⭐ Slimefun version

image

🧭 Other plugins

No response

@xMikux xMikux added 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced. 🐞 Bug Report A bug that needs to be fixed. labels Mar 27, 2022
@variananora variananora added 🧨 Confirmed Bug This bug has been confirmed by our team. and removed 🎯 Needs testing This Issue needs to be tested by our team to see if it can be reproduced. labels Apr 6, 2022
@Creependerman
Copy link

I think it's maybe because of NBT. The screenshot show the NBT was changed by Ancient Altar.

@Creependerman
Copy link

Yes, my guess is real. I saw though the AncientPedestal.java, when you place item, the Ancient Altar turn the item into entity. Then you take it down, Ancient Altar turn the entity into item. So the item will be change.

@Creependerman
Copy link

I think the better way is make the Ancient Altar memory the item.

@JustAHuman-xD
Copy link
Contributor

I can probably throw a fix for this into my existing PR. I'll do that tomorrow (today? It's three thirty am) 👍

@JustAHuman-xD
Copy link
Contributor

Does this only happen for potions?

@JustAHuman-xD
Copy link
Contributor

Found the cause, should be simple enough to fix

JustAHuman-xD added a commit to JustAHuman-xD/Slimefun4 that referenced this issue Jun 17, 2023
StarWishsama added a commit to SlimefunGuguProject/Slimefun4 that referenced this issue Jul 3, 2023
@variananora variananora added the ✔ Resolved This Issue has been resolved. label Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Report A bug that needs to be fixed. 🧨 Confirmed Bug This bug has been confirmed by our team. ✔ Resolved This Issue has been resolved.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants