Skip to content

Instantly share code, notes, and snippets.

@kloppie74
Created February 14, 2023 15:01
Show Gist options
  • Save kloppie74/146e051253994f73a7134e4d7b75da78 to your computer and use it in GitHub Desktop.
Save kloppie74/146e051253994f73a7134e4d7b75da78 to your computer and use it in GitHub Desktop.
Error Event for hologram!
[15:54:47 INFO]: [CookieClicker] [STDOUT] [CookieClicker] Error on creating the hologram
[15:54:47 WARN]: java.lang.NoSuchMethodException: net.minecraft.network.protocol.game.PacketPlayOutSpawnEntity.<init>(net.minecraft.world.entity.EntityLiving)
[15:54:47 WARN]: at java.base/java.lang.Class.getConstructor0(Class.java:3585)
[15:54:47 WARN]: at java.base/java.lang.Class.getConstructor(Class.java:2271)
[15:54:47 WARN]: at CookieClicker.jar//de.zillolp.cookieclicker.utils.HologramUtil.createHologram(HologramUtil.java:153)
[15:54:47 WARN]: at CookieClicker.jar//de.zillolp.cookieclicker.utils.HologramUtil.spawn(HologramUtil.java:109)
[15:54:47 WARN]: at CookieClicker.jar//de.zillolp.cookieclicker.manager.PlayerManager.spawnHolograms(PlayerManager.java:50)
[15:54:47 WARN]: at CookieClicker.jar//de.zillolp.cookieclicker.listener.SetupListener.onPlayerInteractEvent(SetupListener.java:59)
[15:54:47 WARN]: at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor39.execute(Unknown Source)
[15:54:47 WARN]: at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
[15:54:47 WARN]: at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[15:54:47 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[15:54:47 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:672)
[15:54:47 WARN]: at org.bukkit.craftbukkit.v1_19_R2.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:546)
[15:54:47 WARN]: at net.minecraft.server.level.PlayerInteractManager.a(PlayerInteractManager.java:528)
[15:54:47 WARN]: at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1959)
[15:54:47 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:37)
[15:54:47 WARN]: at net.minecraft.network.protocol.game.PacketPlayInUseItem.a(PacketPlayInUseItem.java:9)
[15:54:47 WARN]: at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:51)
[15:54:47 WARN]: at net.minecraft.server.TickTask.run(TickTask.java:18)
[15:54:47 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[15:54:47 WARN]: at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1341)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:197)
[15:54:47 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.bh(MinecraftServer.java:1318)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1311)
[15:54:47 WARN]: at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.i_(MinecraftServer.java:1289)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1177)
[15:54:47 WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316)
[15:54:47 WARN]: at java.base/java.lang.Thread.run(Thread.java:833)
[15:54:47 INFO]: [CookieClicker] [STDOUT] [CookieClicker] Error on creating the hologram
@ZilloLP
Copy link

ZilloLP commented Feb 14, 2023

Hey which server version are you using?
Because the plugin does not work in 1.19.3.

@kloppie74
Copy link
Author

kloppie74 commented Feb 14, 2023

ahh yes, im using 1.19.3 Are you working on a 1.19.3 update?

@Strahilchu
Copy link

Having the same problem, holograms break on 1.19.3

@ZilloLP
Copy link

ZilloLP commented Feb 16, 2023

The problem is known to me and it is because I could test and program the last update only for 1.19.2 and thus does not go in the 1.19.3. Mojang has changed packages in the update, which is why the holograms no longer work.
But I will update the plugin as soon as I have time for the version 1.19.3.

@DEADLYDEVIL-IR
Copy link

I have the same problem I hope you fix the issue soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment