obriencj/bukkit-dispenser — Issue #3: Problem with eventListener
Author: bootscr33n
Created: 2012-01-24 15:03:54+00:00
State: open

hy,

i have a problem with your plugin. i get this error with the registerevtn method:

15:09:59 [SCHWERWIEGEND] Error occurred while enabling Dispenser v0.1 (Is it up to date?): Listener cannot be null
java.lang.IllegalArgumentException: Listener cannot be null
at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManager.java:416)
at net.preoccupied.bukkit.dispenser.DispenserPlugin.onEnable(DispenserPlugin.java:103)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1059)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:356)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:343)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

my java knowledge is really bad so i hope you can help me to solve this problem