Raises NullPointerException when clicked/touched interactive hologram.
Steps to Reproduce
Load my script
Click the hologram
Expected Behavior
In my script, print "clicked" in my chat.
Your Script
on join:
create interactive holo object "" with id "holo.%player%" at player's location
edit holo object "holo.%player%" with line 1 to "&6foo" and set interactivity to true
on hologram click:
broadcast "clicked"
Screenshots / Errors
[HolographicDisplays] The plugin skRayFall generated an exception when the player shuu_9025 touched a hologram.
java.lang.NullPointerException: null
at net.rayfall.eyesniper2.skrayfall.holograms.EffEditHoloObjectLine$3.onTouch(EffEditHoloObjectLine.java:122) ~[skRayFall+v1.9.23.jar:?]
at com.gmail.filoghost.holographicdisplays.listener.MainListener.onSlimeInteract(MainListener.java:157) [HolographicDisplays.jar:2.4.4]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_271]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_271]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_271]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at com.gmail.filoghost.holographicdisplays.nms.v1_12_R1.EntityNMSSlime.damageEntity(EntityNMSSlime.java:119) [HolographicDisplays.jar:2.4.4]
at net.minecraft.server.v1_12_R1.EntityHuman.attack(EntityHuman.java:1005) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.EntityPlayer.attack(EntityPlayer.java:1311) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1625) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(SourceFile:69) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PacketPlayInUseEntity.a(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_271]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_271]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-79a30d7-acbc348]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_271]
Describe the bug
Raises NullPointerException when clicked/touched interactive hologram.
Steps to Reproduce
Expected Behavior
In my script, print "clicked" in my chat.
Your Script
Screenshots / Errors
Server Information
Plugins (9): Skript, SharpSK, MundoSK, ProtocolLib, Skellett, SkQuery, HolographicDisplays, HolographicDisplaysAddon, skRayFall
Additional Information
This may create an issue in HolographicDisplays repository...