aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0727-More-Teleport-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/server/0727-More-Teleport-API.patch')
-rw-r--r--patches/server/0727-More-Teleport-API.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0727-More-Teleport-API.patch b/patches/server/0727-More-Teleport-API.patch
index 4fe9942d06..732ed40fc2 100644
--- a/patches/server/0727-More-Teleport-API.patch
+++ b/patches/server/0727-More-Teleport-API.patch
@@ -5,11 +5,11 @@ Subject: [PATCH] More Teleport API
diff --git a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
-index c3acf78c9df1108ea89d84d135b1784f6c96418d..3f452f8f5e85a4f86ff53420ceae237abf97643b 100644
+index ce466ccf573f69738813e947f6c6c6d0db6d82b7..6044a84fd9a3b07e418b8e308b3d6faeb152170c 100644
--- a/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
+++ b/src/main/java/net/minecraft/server/network/ServerGamePacketListenerImpl.java
@@ -1566,11 +1566,17 @@ public class ServerGamePacketListenerImpl extends ServerCommonPacketListenerImpl
- return false; // CraftBukkit - Return event status
+ return true; // CraftBukkit - Return event status
}
- PlayerTeleportEvent event = new PlayerTeleportEvent(player, from.clone(), to.clone(), cause);