Updates to all Entities to use getBukkitEntity() any time an event is
raised. Similar update to CraftVehicle and CraftLivingEntity
This commit is contained in:
committed by
Dinner Bone
parent
3400eafaf1
commit
5f2c8108b7
@@ -16,7 +16,7 @@ public abstract class CraftVehicle extends CraftEntity implements Vehicle {
|
||||
}
|
||||
|
||||
public Entity getPassenger() {
|
||||
return ((CraftWorld)getWorld()).toCraftEntity(getHandle().j);
|
||||
return (getHandle().j.getBukkitEntity());
|
||||
}
|
||||
|
||||
public boolean setPassenger(Entity passenger) {
|
||||
|
||||
Reference in New Issue
Block a user