diamond-rip / Eden

The best free 1.8 1v1 practice plugin - Offers tons of premium features!
GNU General Public License v3.0
111 stars 36 forks source link

hotbar shit error #525

Open MrCreeperMC opened 1 year ago

MrCreeperMC commented 1 year ago

I got this error when i join server (i dont get any items)

java.lang.NullPointerException: null at rip.diamond.practice.EdenItems.giveItem(EdenItems.java:41) ~[?:?] at rip.diamond.practice.profile.PlayerProfile.setupItems(PlayerProfile.java:151) ~[?:?] at rip.diamond.practice.lobby.LobbyManager.reset(LobbyManager.java:49) ~[?:?] at rip.diamond.practice.lobby.LobbyManager.lambda$sendToSpawnAndReset$1(LobbyManager.java:55) ~[?:?] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:54) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:333) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at net.minecraft.server.v1_8_R3.MinecraftServer.B(Unknown Source) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at net.minecraft.server.v1_8_R3.DedicatedServer.B(Unknown Source) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at net.minecraft.server.v1_8_R3.MinecraftServer.A(Unknown Source) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at net.minecraft.server.v1_8_R3.MinecraftServer.lambda$1(Unknown Source) ~[server.jar:1.8.8-R0.2-SNAPSHOT] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_312] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) ~[?:1.8.0_312] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) ~[?:1.8.0_312] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) ~[?:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[?:1.8.0_312] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_312] at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_312]

Antoniova1 commented 1 year ago

what version of eden do you have and what spigot are you using

MrCreeperMC commented 1 year ago

lastest - vortex spigot

MrCreeperMC commented 1 year ago

i mean lastest eden not vortex

GoodestEnglish commented 1 year ago

what does your item.yml looks like?

MrCreeperMC commented 1 year ago

Here you are https://pastebin.com/ZL38efym

MrCreeperMC commented 1 year ago

I changed it many times but but it doesnt looks different

GoodestEnglish commented 1 year ago

If you are using default config this shouldn't happen. I don't have vortex spigot but you should try to use paper and without any plugins (except dependency plugin) and see if this error occurs. This is also the first time I've ever seen this bug.

MrCreeperMC commented 1 year ago

I tried with default paper, sportpaper and atomspigot. No matter the spigot. I think when i change item type in item.yml this happen. Like kit editor is a book, I change it into anvil.

MrCreeperMC commented 1 year ago

And i have a question What's the best spigot to use with Eden?

GoodestEnglish commented 1 year ago

image This didn't happen for me. Tested with carbonspigot and paperspigot. Maybe try to redownload the jar file?