Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

JailStatusChangeEvent not firing.

Open TagCraftMC opened this issue 11 years ago • 2 comments

I was trying to hook into the JailStatusChangeEvent but it does not seem to be firing. The event is registered (other events in the class are firing) and there are no errors.

Thanks.

    @EventHandler
    public void onJailStatusChange (JailStatusChangeEvent event)
    {   
        Bukkit.getLogger().info("DEBUG - Player: " + event.getAffected().getName() + " Status: " + event.getValue());
    }

TagCraftMC avatar Aug 21 '15 03:08 TagCraftMC

Yeah it looks like there aren't any usages lol.

drtshock avatar Aug 21 '15 15:08 drtshock

An possibility of adding it in the future? At the moment we using PlayerCommandPreprocessEvent for the jail and unjail command + checking if the player is jailed, which kinda feels a little dirty.

Thanks drtshock.

TagCraftMC avatar Aug 21 '15 16:08 TagCraftMC