EntityDismountEvent not in CraftBukkit?

Discussion in 'Bukkit Discussion' started by Cristichi, Sep 9, 2019.

  1. Offline

    Cristichi

    I'm developing a plugin that needs to do something when a player dismounts from an armor stand, and the only solution I found was using EntityDismountEvent, but it is not in the Bukkit API. I know it is in the Spigot API but some servers run Bukkit and not Spigot and I want this plugin to work for both.

    Is there any way to work around it or I should wait for it to be added to Bukkit? Thanks
     
  2. Offline

    DerDonut

    There's the vehicleExitEvent but I guess an ArmorStand isn't a vehicle so the best way would be ToggleSneak event with an hashmap to get the armorstand
     

Share This Page