[SPIGOT-4630] BlockPistonEventEvent bug no static handler Created: 19/Feb/19 Updated: 19/Feb/19 Resolved: 19/Feb/19 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | andy leonor | Assignee: | Unassigned |
Resolution: | Invalid | Votes: | 0 |
Labels: | 1.13.2 | ||
Environment: |
Java 8 Windows 64 bit professional Test server |
Version: | This server is running CraftBukkit version git-Spigot-e8d3881-c24abab (MC: 1.13.2) (Implementing API version 1.13.2-R0.1-SNAPSHOT) |
Plugin: | custom |
Guidelines Read: | Yes |
Description |
org.bukkit.plugin.IllegalPluginAccessException: Unable to find handler list for event org.bukkit.event.block.BlockEvent. Static getHandlerList method required!
When listening to BlockPistonEventEvent |
Comments |
Comment by Bjarne Koll [ 19/Feb/19 ] |
You cannot listen to BlockPistonEvent. It is simply an abstract superclass of https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockPistonRetractEvent.html or the https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/BlockPistonExtendEvent.html |