setPassenger not syncing to other Clients,

Discussion in 'Spigot Plugin Development' started by m10653, Jun 1, 2016.

  1. Hey, I had a quick question. So When setting an entity's passenger with the .setPassenger method. It fails to sync with other online clients. For Example, The client who clicks views them self on the entity and so does the server, but other players watching just see the player freeze. They have to relog to be able to see the player riding the entity. I am wondering if I am doing something wrong or is this is a bug with Minecraft are not. I can't seem to figure it out.

    Here is some basic example code that produces the problem.
    Code (Text):
        public void onClick(PlayerInteractAtEntityEvent event){
            if(event.getRightClicked().getType() !=EntityType.ARMOR_STAND ){
            ArmorStand stand = (ArmorStand) event.getRightClicked();