Make targets dismount whatever they are riding when they get possessed
This commit is contained in:
@@ -212,6 +212,7 @@ public class Possession extends SpellRay {
|
|||||||
possessor.eyeHeight = target.getEyeHeight();
|
possessor.eyeHeight = target.getEyeHeight();
|
||||||
setSize(possessor, target.width, target.height);
|
setSize(possessor, target.width, target.height);
|
||||||
|
|
||||||
|
target.dismountRidingEntity();
|
||||||
target.setDead();
|
target.setDead();
|
||||||
target.setNoAI(true);
|
target.setNoAI(true);
|
||||||
target.setAttackTarget(null);
|
target.setAttackTarget(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user