PetteriM1 / Pokkit

Nukkit plugin that is able to load some Bukkit and Spigot plugins
https://nukkitx.com/resources/pokkit.21/
Other
41 stars 8 forks source link

Errors on passing signal from Pressure Plate(72) to Piston(33). #38

Open codekote opened 2 years ago

codekote commented 2 years ago
11:53:31 [FATAL] Could not pass event "cn.nukkit.event.player.PlayerInteractEvent" to "Pokkit v0.11.1": null on nl.rutgerkok.pokkit.pluginservice.PlayerInteractEvents
11:53:31 [ERROR] Throwing
cn.nukkit.utils.EventException: null
    at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:34) ~[nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:56) ~[nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.plugin.PluginManager.callEvent(PluginManager.java:543) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.block.BlockPressurePlateBase.onEntityCollide(BlockPressurePlateBase.java:132) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Player.checkBlockCollision(Player.java:1348) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.entity.Entity.entityBaseTick(Entity.java:1362) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.entity.EntityLiving.entityBaseTick(EntityLiving.java:225) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Player.onUpdate(Player.java:1630) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.level.Level.doTick(Level.java:834) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.checkTickUpdates(Server.java:1093) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.tick(Server.java:1175) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.tickProcessor(Server.java:940) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.start(Server.java:908) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Server.<init>(Server.java:589) [nukkit-1.0-SNAPSHOT.jar:?]
    at cn.nukkit.Nukkit.main(Nukkit.java:120) [nukkit-1.0-SNAPSHOT.jar:?]
Caused by: java.lang.NullPointerException
    at nl.rutgerkok.pokkit.item.PokkitItemStack.toBukkitCopy(PokkitItemStack.java:68) ~[?:?]
    at nl.rutgerkok.pokkit.pluginservice.PlayerInteractEvents.onPlayerInteract(PlayerInteractEvents.java:56) ~[?:?]
    at jdk.internal.reflect.GeneratedMethodAccessor19.invoke(Unknown Source) ~[?:?]
    at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
    at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
    at cn.nukkit.plugin.MethodEventExecutor.execute(MethodEventExecutor.java:29) ~[nukkit-1.0-SNAPSHOT.jar:?]
    ... 14 more