Spigot Lava Furnace 1.0

Build a custom Lava Furnace and use mainly Lava as fuel

  1. [15:50:01] [Server thread/ERROR]: Could not pass event PlayerBucketEmptyEvent to LavaFurnace v1.0
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:309) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.getPlayerBucketEvent(CraftEventFactory.java:250) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.craftbukkit.v1_13_R2.event.CraftEventFactory.callPlayerBucketEmptyEvent(CraftEventFactory.java:223) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.ItemBucket.a(ItemBucket.java:135) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.ItemBucket.a(ItemBucket.java:65) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.ItemStack.a(ItemStack.java:298) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.PlayerInteractManager.a(PlayerInteractManager.java:419) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.PlayerConnection.a(PlayerConnection.java:1290) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:26) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.PlayerConnectionUtils.a(SourceFile:10) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
    at net.minecraft.server.v1_13_R2.SystemUtils.a(SourceFile:199) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:896) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_13_R2.block.CraftBlockState cannot be cast to org.bukkit.block.Furnace
    at src.plugin.arcwolf.lavafurnace.FurnaceHelper.initFurnace(FurnaceHelper.java:991) ~[?:?]
    at src.plugin.arcwolf.lavafurnace.Listeners.LFPlayerListener.onPlayerBucketEmpty(LFPlayerListener.java:103) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_191]
    at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_191]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:305) ~[spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    ... 21 more








    [15:43:28] [Server thread/INFO]: Successfully created New Config File.
    [15:43:28] [Server thread/ERROR]: LavaFurnace error {0}
    java.io.IOException: Stream closed
    at java.io.BufferedWriter.ensureOpen(BufferedWriter.java:116) ~[?:1.8.0_191]
    at java.io.BufferedWriter.flushBuffer(BufferedWriter.java:126) ~[?:1.8.0_191]
    at java.io.BufferedWriter.flush(BufferedWriter.java:253) ~[?:1.8.0_191]
    at src.plugin.arcwolf.lavafurnace.DataWriter.writeConfig(DataWriter.java:539) [LF.jar:?]
    at src.plugin.arcwolf.lavafurnace.DataWriter.init(DataWriter.java:259) [LF.jar:?]
    at src.plugin.arcwolf.lavafurnace.LavaFurnace.onEnable(LavaFurnace.java:98) [LF.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:254) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugin(CraftServer.java:434) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at org.bukkit.craftbukkit.v1_13_R2.CraftServer.enablePlugins(CraftServer.java:348) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.l(MinecraftServer.java:580) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:542) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:420) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.DedicatedServer.init(DedicatedServer.java:294) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:698) [spigot-1.13.2.jar:git-Spigot-f56e2e7-98b862a]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]





    ;n;