From 9cb9fe099c884a3122605c46a1e179771c3af8b1 Mon Sep 17 00:00:00 2001 From: Magix <27646710+KingRainbow44@users.noreply.github.com> Date: Thu, 4 Aug 2022 13:44:50 -0400 Subject: [PATCH] Update src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java Co-authored-by: Luke H-W --- .../grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java b/src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java index fbd15dbcd..a4fd488f2 100644 --- a/src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java +++ b/src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java @@ -38,6 +38,7 @@ public class HandlerTryEnterHomeReq extends PacketHandler { boolean result = session.getPlayer().getWorld().transferPlayerToScene( session.getPlayer(), realmId, TeleportType.WAYPOINT, pos - ); if (result) session.send(new PacketTryEnterHomeRsp(req.getTargetUid())); + ); + if (result) session.send(new PacketTryEnterHomeRsp(req.getTargetUid())); } }