Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 12:30:06 +01:00
SPIGOT-2366: Fix a missed diff PortalTravelAgent.patch
Dieser Commit ist enthalten in:
Ursprung
5fc80916f5
Commit
10c10b3124
@ -179,10 +179,10 @@
|
|||||||
+ velocity.setX(d6 * (double) f1 + d7 * (double) f4);
|
+ velocity.setX(d6 * (double) f1 + d7 * (double) f4);
|
||||||
+ velocity.setZ(d6 * (double) f3 + d7 * (double) f2);
|
+ velocity.setZ(d6 * (double) f3 + d7 * (double) f2);
|
||||||
+ f = f - (float) (entity.getPortalDirection().opposite().get2DRotationValue() * 90) + (float) (shapedetector_shapedetectorcollection.getFacing().get2DRotationValue() * 90);
|
+ f = f - (float) (entity.getPortalDirection().opposite().get2DRotationValue() * 90) + (float) (shapedetector_shapedetectorcollection.getFacing().get2DRotationValue() * 90);
|
||||||
+ // entity.setPositionRotation(d2, d3, d4, entity.yaw, entity.pitch);
|
+ // entity.setPositionRotation(d2, d5, d3, entity.yaw, entity.pitch);
|
||||||
+ position.setX(d2);
|
+ position.setX(d2);
|
||||||
+ position.setY(d3);
|
+ position.setY(d5);
|
||||||
+ position.setZ(d4);
|
+ position.setZ(d3);
|
||||||
+ position.setYaw(f);
|
+ position.setYaw(f);
|
||||||
+ }
|
+ }
|
||||||
+ EntityPortalExitEvent event = new EntityPortalExitEvent(entity.getBukkitEntity(), from, position, before, velocity);
|
+ EntityPortalExitEvent event = new EntityPortalExitEvent(entity.getBukkitEntity(), from, position, before, velocity);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren