[SPIGOT-339] Instant potions cannot be extended Created: 01/Jan/15 Updated: 07/Jan/15 Resolved: 02/Jan/15 |
|
Status: | Closed |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | wysohn | Assignee: | Thinkofname |
Resolution: | Invalid | Votes: | 0 |
Labels: | None | ||
Environment: |
1.8.1 craftbukkit |
Issue Links: |
|
Description |
Potion.fromItemStack(IS); causes this problem IS is itemstack and here is the log: |
Comments |
Comment by Corey Young [ 07/Jan/15 ] |
I also experience this bug in the latest version, CraftBukkit version git-Bukkit-a1ce164 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT). |
Comment by wysohn [ 03/Jan/15 ] |
it has the error at org.bukkit.potion.Potion.setHasExtendedDuration(Potion.java:268) ~[craftbukkit-1.8.jar:git-Bukkit-40aaa31] what do you mean plugin issue? i am the creator of this plugin i check if itemstack is potion and make a Potion instance by Potion.fromItemStack(); then it shows the error there will be no way it's a plugin issue or itemstack |
Comment by Thinkofname [ 02/Jan/15 ] |
Looks like a plugin issue (or invalid item stack somehow) |