Hi!
I'm building a little dungeon with a couple of mates, and we were planning to use PhatLoots + MythicMobs + NBTEditor in a Spigot 1.12 server.
Phatloots does not seem to work, and we don't know if It's about the minecraft version or the API.
We wanted to use bukkit at first stance but NBTEditor and MythicMobs failed (We didn't test PhatLoots) so we switched to Spigot 1.12. We really need to know what makes PhatLoots to not work.Essentially, I can create a loot chest with /loot make, but I can't add neither items nor link that loot chest to a physical block.The plugin says: An error occured while trying to perform this comand. Please, notify a server administrator.That is what the console logs:
[00:33:00 ERROR]: [PhatLoots] Error occured when executing command /loot add hand java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_172] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_172] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_172] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_172] at com.codisimus.plugins.phatloots.commands.CommandHandler.handleCommand(CommandHandler.java:259) [PhatLoots.jar:?] at com.codisimus.plugins.phatloots.commands.CommandHandler.onCommand(CommandHandler.java:166) [PhatLoots.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_172] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_172] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172] Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block; at com.codisimus.plugins.phatloots.PhatLootsUtil.getPhatLoots(PhatLootsUtil.java:176) ~[?:?] at com.codisimus.plugins.phatloots.commands.LootCommandUtil.getPhatLoots(LootCommandUtil.java:122) ~[?:?] at com.codisimus.plugins.phatloots.commands.LootCommandUtil.setLoot(LootCommandUtil.java:34) ~[?:?] at com.codisimus.plugins.phatloots.commands.ManageLootCommand.setItem(ManageLootCommand.java:448) ~[?:?] at com.codisimus.plugins.phatloots.commands.ManageLootCommand.addHand(ManageLootCommand.java:45) ~[?:?] ... 22 more
Hi! I'm building a little dungeon with a couple of mates, and we were planning to use PhatLoots + MythicMobs + NBTEditor in a Spigot 1.12 server. Phatloots does not seem to work, and we don't know if It's about the minecraft version or the API.
We wanted to use bukkit at first stance but NBTEditor and MythicMobs failed (We didn't test PhatLoots) so we switched to Spigot 1.12. We really need to know what makes PhatLoots to not work.Essentially, I can create a loot chest with /loot make, but I can't add neither items nor link that loot chest to a physical block.The plugin says: An error occured while trying to perform this comand. Please, notify a server administrator.That is what the console logs:
[00:33:00 ERROR]: [PhatLoots] Error occured when executing command /loot add hand java.lang.reflect.InvocationTargetException: null at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_172] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_172] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_172] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_172] at com.codisimus.plugins.phatloots.commands.CommandHandler.handleCommand(CommandHandler.java:259) [PhatLoots.jar:?] at com.codisimus.plugins.phatloots.commands.CommandHandler.onCommand(CommandHandler.java:166) [PhatLoots.jar:?] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:648) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnection.handleCommand(PlayerConnection.java:1397) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnection.a(PlayerConnection.java:1232) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:45) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PacketPlayInChat.a(PacketPlayInChat.java:1) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_172] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_172] at net.minecraft.server.v1_12_R1.SystemUtils.a(SourceFile:46) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:748) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-642f6d2-57ab4cf] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172] Caused by: java.lang.NoSuchMethodError: org.bukkit.entity.Player.getTargetBlock(Ljava/util/HashSet;I)Lorg/bukkit/block/Block; at com.codisimus.plugins.phatloots.PhatLootsUtil.getPhatLoots(PhatLootsUtil.java:176) ~[?:?] at com.codisimus.plugins.phatloots.commands.LootCommandUtil.getPhatLoots(LootCommandUtil.java:122) ~[?:?] at com.codisimus.plugins.phatloots.commands.LootCommandUtil.setLoot(LootCommandUtil.java:34) ~[?:?] at com.codisimus.plugins.phatloots.commands.ManageLootCommand.setItem(ManageLootCommand.java:448) ~[?:?] at com.codisimus.plugins.phatloots.commands.ManageLootCommand.addHand(ManageLootCommand.java:45) ~[?:?] ... 22 more
That is all by now.Thank you in any case.
Greetings, Omicronrg9.