VisibilityManager issue
torpkev opened this issue · 2 comments
Description
Creating a text hologram initially works, but creating it again (look away, look back) throws the following error
[08:35:11] [Server thread/INFO]: torpkev[/127.0.0.1:57873] logged in with entity id 180 at ([world]-20.104917343832387, 97.0, -200.755494332767)
[08:35:11] [Server thread/INFO]: �[0;35;1m[Bazaar.Debug]�[0;36;1m[Hologram.showTextOnly(Location, Player)] �[0;37;1mProtocolLib is active�[m
[08:35:11] [Server thread/INFO]: �[0;35;1m[Bazaar.Debug]�[0;36;1m[Hologram.showTextOnly(Location, Player)] �[0;37;1mText hologram exists�[m
[08:35:11] [Server thread/INFO]: �[0;35;1m[Bazaar.Debug]�[0;36;1m[Hologram.showTextOnly(Location, Player)] �[0;37;1mSetting Text hologram: CraftHologram [world=CraftWorld{name=world}, x=-21.5, y=99.1, z=-203.5, lines=[CraftTextLine [text=�[0;31;22mOut of Stock], CraftTextLine [text=1x Bucket], CraftTextLine [text=�[0;31;1m? $1�[0;37;1m | �[0;32;1m? $1]], deleted=false]�[m
[08:35:11] [Server thread/INFO]: �[0;35;1m[Bazaar.Debug]�[0;36;1m[Hologram.showTextOnly(Location, Player)] �[0;37;1mhologram is NOT NULL - showing�[m
[08:35:11] [Server thread/WARN]: [ProtocolLib] Loaded class com.gmail.filoghost.holographicdisplays.bridge.protocollib.current.packet.WrapperPlayServerEntityDestroy from HolographicDisplays v2.4.7 which is not a depend, softdepend or loadbefore of this plugin.
[08:35:11] [Server thread/INFO]: �[0;35;1m[Bazaar.Debug]�[0;36;1m[ShopTarget.Run()] �[0;37;1mUnexpected Error: No field with type [I exists in class PacketPlayOutEntityDestroy.�[m
How to reproduce
Issue appears to occur when running this code:
VisibilityManager visibilityManager = hologram.getVisibilityManager();
visibilityManager.showTo(player);
Platform
-
Server version (output of
/version
):
[Server thread/INFO]: This server is running CraftBukkit version 3158-Spigot-f773da8-470050a (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT) -
Holographic Displays version (check with
/hd
):
[08:42:17] [Server thread/INFO]: Server is running Holographic Displays v2.4.7 by filoghost -
ProtocolLib version, if installed (check with
/protocol version
):
[Server thread/INFO]: ProtocolLib v4.7.0-SNAPSHOT-b520
[Server thread/INFO]: Authors: dmulloy2 and Comphenix
[Server thread/INFO]: Issues: https://github.com/dmulloy2/ProtocolLib/issues -
Do you use plugins to allow players to join with multiple Minecraft versions (such as ViaVersion, ProtocolSupport, ...):
No
Additional context
Try with the latest dev build please: https://ci.codemc.io/job/filoghost/job/HolographicDisplays/