• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Environment:

      Windows 10 using latest Spigot

    • This server is running CraftBukkit version git-Spigot-c574e08-d70084e (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
    • Yes

      When you enter a boat, for some reason it instantly triggers a VehicleExitEvent. This behavior can be tested with the following (Kotlin) code:

       

      @Plugin(name = "TestPlugin", version = "1.0")
      class TestPlugin : JavaPlugin(), Listener {
          override fun onEnable() {
              super.onEnable()
              server.pluginManager.registerEvents(this, this)
          }
      
          @EventHandler
          fun onVehicleExit(event: VehicleExitEvent) {
                  server.logger.info("Vehicle exit called for %s".format(event.exited.type.name))
          }
      }
      

       

      When you enter a boat, it instantly calls a VehicleExitEvent for some reason. This does not happen with entities like Minecarts, and I don't expect this to happen when entering a boat

            Assignee:
            Unassigned
            Reporter:
            KoekenMeneer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: