chrismin13 / AdditionsAPI

An API to create Custom Items with ease!
https://www.spigotmc.org/resources/additions-api.43955/
MIT License
22 stars 10 forks source link

Could not pass event BlockDispenseEvent to AdditionsAPI v1.3.0 #13

Closed andris155 closed 6 years ago

andris155 commented 6 years ago
[22:19:02] [Server thread/ERROR]: Could not pass event BlockDispenseEvent to AdditionsAPI v1.3.0
org.bukkit.event.EventException: null
    at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:72) ~[patched_1.12.2.jar:git-Paper-1533]
    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:78) ~[patched_1.12.2.jar:git-Paper-1533]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[patched_1.12.2.jar:git-Paper-1533]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:527) ~[patched_1.12.2.jar:git-Paper-1533]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:512) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.DispenseBehaviorItem.a(DispenseBehaviorItem.java:63) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.DispenseBehaviorItem.b(DispenseBehaviorItem.java:26) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.DispenseBehaviorItem.a(DispenseBehaviorItem.java:13) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.BlockDropper.dispense(BlockDropper.java:41) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.BlockDispenser.b(BlockDispenser.java:118) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.WorldServer.a(WorldServer.java:794) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.WorldServer.doTick(WorldServer.java:325) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:904) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:773) ~[patched_1.12.2.jar:git-Paper-1533]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) ~[patched_1.12.2.jar:git-Paper-1533]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.v1_12_R1.block.CraftDropper cannot be cast to org.bukkit.block.Dispenser
    at com.codingforcookies.armorequip.ArmorListener.dispenserFireEvent(ArmorListener.java:153) ~[?:?]
    at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor238.execute(Unknown Source) ~[?:?]
    at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:70) ~[patched_1.12.2.jar:git-Paper-1533]
    ... 16 more