Fix for newest Spigot releases.

This commit is contained in:
filoghost 2015-01-13 11:01:24 +01:00
parent c6cb1d9d62
commit a9ba47d3c1

View File

@ -206,7 +206,7 @@ public class EntityNMSArmorStand extends EntityArmorStand implements NMSArmorSta
@Override @Override
public void setPassengerNMS(NMSEntityBase passenger) { public void setPassengerNMS(NMSEntityBase passenger) {
if (passenger instanceof Entity) { if (passenger instanceof Entity) {
((Entity) passenger).setPassengerOf(this); ((Entity) passenger).mount(this);
} }
} }