Codisimus / PhatLoots

Bukkit Plugin which provides highly configurable loot for all
http://codisimus.com/phatloots
18 stars 58 forks source link

Plugin incompatibility: 1.12.1 #80

Open HLF-Raideer opened 7 years ago

HLF-Raideer commented 7 years ago

hey!

I just updated my server from 1.11.2 to 1.12.1 and PhatLoots isn't working. When trying to get the list of loots, it gives the list perfectly, i also can loot it with command.

When try to use a linked chest, it does not working. When try to get info from linked chest (looking to the chest and typing /loot info) it works well.

[19:34:38] [Server thread/ERROR]: [PhatLoots] Error occured when executing command /loot link
java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_131]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_131]
at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.jar:git-Spigot-596221b-2c5c611]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:747) [spigot-1.12.jar:git-Spigot-596221b-2c5c611]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:405) [spigot-1.12.jar:git-Spigot-596221b-2c5c611]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.12.jar:git-Spigot-596221b-2c5c611]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.12.jar:git-Spigot-596221b-2c5c611]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]
Caused by: java.lang.NullPointerException
at com.codisimus.plugins.phatloots.PhatLoot.saveChests(PhatLoot.java:1029) ~[?:?]
at com.codisimus.plugins.phatloots.commands.LootCommand.link(LootCommand.java:164) ~[?:?]