修改坠机伤害实现方式
This commit is contained in:
parent
e781363c0c
commit
1b9572c878
1 changed files with 5 additions and 4 deletions
|
@ -519,7 +519,8 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
|
|||
@Override
|
||||
public Vec3 getDismountLocationForPassenger(LivingEntity passenger) {
|
||||
Vec3 vec3d = getDismountOffset(getBbWidth() * Mth.SQRT_OF_TWO, passenger.getBbWidth() * Mth.SQRT_OF_TWO);
|
||||
double ox = getX() + vec3d.x;;
|
||||
double ox = getX() + vec3d.x;
|
||||
;
|
||||
int i = this.getPassengers().indexOf(passenger);
|
||||
if (i == 0 || i == 2) {
|
||||
ox = getX() - vec3d.x;
|
||||
|
|
Loading…
Add table
Reference in a new issue