mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-28 02:01:35 +01:00
Switch setPassengetOf to mount as it was removed in previous updates
This commit is contained in:
parent
c1321c2162
commit
6d1d4e73e0
@ -76,7 +76,7 @@ public class Controllable extends Trait implements Toggleable, CommandConfigurab
|
||||
if (ownerRequired && !npc.getTrait(Owner.class).isOwnedBy(handle.getBukkitEntity())) {
|
||||
return;
|
||||
}
|
||||
handle.setPassengerOf(getHandle());
|
||||
handle.mount(getHandle());
|
||||
}
|
||||
|
||||
private net.minecraft.server.v1_8_R1.Entity getHandle() {
|
||||
|
Loading…
Reference in New Issue
Block a user