VisibilityManager.showTo not working with floating items
SkytAsul opened this issue ยท 1 comments
Hi,
For my plugin BeautyQuests I'm using items hologram that are shown only to some players, however on 1.14 it seems that the items aren't shown when I call showTo.
Here is my case:
- Hologram creation
- hologram.getVisilbityManager().setDefaultVisibility(false)
- hologram.addTextLine("example")
- hologram.addItemLine(Material.WHATEVER_MATERIAL)
*later*
- hologram.getVisilibityManager().showTo(player)
BUT the player can't see the item (and the text above is shown).
I'm using ProtocolLib 4.5.0-SNAPSHOT and the latest dev build of HD.
Fixed with 70e070a