Trying to save holograms in a HashMap
juststopp opened this issue · 1 comments
What are you trying to do?
When I start my server, I call a function to create my holograms. Then, I would like that at each kill I can retrieve these holograms in another function that will edit the hologram to display the top 10 best killers.
What have you tried so far?
J'ai essayé de sauvegarder mon hologramme dans une HashMap nommée holograms après sa création, pour ensuite la récupérer dans mon autre fonction, mais quand je fais System.out.println(holograms)
, il revient en tant que null
.
Platform
- Server version (output of
/version
): 1.8.8 - Holographic Displays version (check with
/hd
): 2.4.6 - ProtocolLib version, if installed (check with
/protocol version
): Not installed - Do you use plugins to allow players to join with multiple Minecraft versions (such as ViaVersion, ProtocolSupport, ...): ViaVersion (1.6.0)