createkit "item is not a potion"
PhanaticD opened this issue ยท 10 comments
on a 1.13 server i put some splash potions in my inventory and did /createkit and it says "item is not a potion" and was unable to make the kit
phanaticD owner of phanatic mc you it's not just that version i don't think they have it set to detect the internal id's of the pots or just doesn't understand if they are splash pots or is it just doing it for certain splash ones?
Has existed for a while now. The error occurs when attempting to use splash or lingering potions when creating a kit. Here is the stacktrace for any interested parties:
https://gist.github.com/triagonal/c1650c1a7ebe52c362d9aac7e68f0a4d
Confirmed and reproduced on:
[23:53:00 INFO]: Server version: 1.14.4-R0.1-SNAPSHOT git-Paper-226 (MC: 1.14.4)
[23:53:00 INFO]: EssentialsX version: 2.17.1.37
[23:53:00 INFO]: Vault is not installed. Chat and permissions may not work.
edit: Duplicates #1119 - issue has existed since 2017.
org.bukkit.potion.Potion
isn't designed for 1.9 and above, and refuses to get the potion meta of anything that isn't a minecraft:potion
. We should probably look up and find an appropriate potion in the item database, at least for 1.13+.
yeah this is pending #3248
No need to pointlessly bump issues that are still issues (especially since there's a linked PR). We know. Only comment if it's no longer an issue.