summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authorTom E <tomelfring@gmail.com>2016-06-09 12:00:57 +0200
committermd_5 <git@md-5.net>2016-06-09 21:25:21 +1000
commit10c10b3124020862b6e912c63938a337dda693fe (patch)
treebbd4c79e87a916bcb58d05414f6587bbd6c8e100 /nms-patches
parent5fc80916f55137407ebbed2fd2b8f5fc5f5676a3 (diff)
downloadcraftbukkit-10c10b3124020862b6e912c63938a337dda693fe.tar
craftbukkit-10c10b3124020862b6e912c63938a337dda693fe.tar.gz
craftbukkit-10c10b3124020862b6e912c63938a337dda693fe.tar.lz
craftbukkit-10c10b3124020862b6e912c63938a337dda693fe.tar.xz
craftbukkit-10c10b3124020862b6e912c63938a337dda693fe.zip
SPIGOT-2366: Fix a missed diff PortalTravelAgent.patch
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/PortalTravelAgent.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/PortalTravelAgent.patch b/nms-patches/PortalTravelAgent.patch
index 43117352..94995280 100644
--- a/nms-patches/PortalTravelAgent.patch
+++ b/nms-patches/PortalTravelAgent.patch
@@ -179,10 +179,10 @@
+ velocity.setX(d6 * (double) f1 + d7 * (double) f4);
+ velocity.setZ(d6 * (double) f3 + d7 * (double) f2);
+ 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.setY(d3);
-+ position.setZ(d4);
++ position.setY(d5);
++ position.setZ(d3);
+ position.setYaw(f);
+ }
+ EntityPortalExitEvent event = new EntityPortalExitEvent(entity.getBukkitEntity(), from, position, before, velocity);