Development Assistance Riding squids but can't stay on?

Discussion in 'Plugin Help/Development/Requests' started by zzienzz, May 25, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    zzienzz

    I set my player to be the passenger of a squid, and it works.

    But after a couple of seconds they get ejected, and thus are no longer riding the squid.

    I want them to remain riding the squid, how do I do this?

    For some reason EntityDismountEvent can't be canceled, and it appears that VehicleExitEvent is only called when the player manually exits the vehicle, not when theyre ejected?

    How do I stay on top of a squid?
     
  2. Online

    timtower Administrator Administrator Moderator

    Moved to Bukkit alternatives
     
  3. Offline

    pie_flavor

    @zzienzz Is the player reporting being ejected, or are you viewing them being ejected? Because there is a client-side bug that does this. I see this all the time on Mineplex. If I get on my slime mount, it bounces away without me. But if I press shift, I dismount and teleport to the slime. If I then remount it then it works.
     
  4. Offline

    zzienzz

    @pie_flavor i tried debugging and I can't find the event.

    I physically am on the squid, and then after a few seconds i get ejected for no reason, and I cant find the event thats causing it.

    It happens with bats as well.
     
  5. Offline

    pie_flavor

    @zzienzz Yes, but can other players see you get ejected or do they still see you riding?
     
Thread Status:
Not open for further replies.

Share This Page