LivingEntity#setCollidable

Discussion in 'Plugin Development' started by WolfMage1, Mar 17, 2017.

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

    WolfMage1

    LivingEntity#setCollidable isn't working (yes I am aware it is bidirectional, if one entity has setCollidable as true the other has to be collidable to take effect)
     
  2. Offline

    Zombie_Striker

    @WolfMage1
    What do you mean? Do you mean it does not work when it is set to true or when it is set to false? Also, what is not working?
     
  3. Offline

    WolfMage1

    setCollidable(false), I can still collide with other entities even though they are (supposed to be) not collidable

    Code:
    player.sendMessage("Entity is a PLAYER, setting collision rule to false...");
    player.setCollidable(false);
    livingEntity.setCollidable(false);
     
Thread Status:
Not open for further replies.

Share This Page