MherZaqaryan / BedWars1058-Cosmetics-Issues

BedWars1058 Cosmetics the most modern, multifunctional, packet-based cosmetics addon.
2 stars 0 forks source link

[Bug] NullPointerException #120

Open ImYenil opened 4 months ago

ImYenil commented 4 months ago

Describe the bug Using Citizens dev builds, open command throws error

How to reproduce Steps to reproduce the behavior:

  1. Download dev builds citizens
  2. use open command
  3. get error Screenshots If applicable, add screenshots to help explain your problem.

Server Information (please complete the following information):

Additional context

[13:00:21 WARN]: [BedWars1058] Task #260310 for BedWars1058 v23.12.1-SNAPSHOT generated an exception org.bukkit.command.CommandException: Unhandled exception executing 'cosmetic menu' in am.mher.cosmetics.YvCZoyJ.bo_fx1X(cosmetic) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:691) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at org.bukkit.Bukkit.dispatchCommand(Bukkit.java:581) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at com.andrei1058.bedwars.listeners.Interact.lambda$onItemCommand$0(Interact.java:95) ~[?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:351) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:804) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:387) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:734) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:631) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] at java.lang.Thread.run(Thread.java:834) ~[?:?] Caused by: java.lang.NullPointerException at am.mher.cosmetics.NyOxTKE.KvQLx7n.setContents(Unknown Source) ~[?:?] at am.mher.cosmetics.api.menu.Menu.open(Unknown Source) ~[?:?] at am.mher.cosmetics.a6Vf2fa.ryo5cT$.execute(Unknown Source) ~[?:?] at am.mher.cosmetics.YvCZoyJ.bo_fx1X.execute(Unknown Source) ~[?:?] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:143) ~[Hypickle-Server-1.8.8-R0.1-SNAPSHOT.jar:git-Carbon-unknown] ... 10 more