Update src/main/java/emu/grasscutter/server/packet/recv/HandlerTryEnterHomeReq.java

Co-authored-by: Luke H-W <Birdulon@users.noreply.github.com>
This commit is contained in:
Magix 2022-08-04 13:44:50 -04:00 committed by GitHub
parent faeb96927a
commit 9cb9fe099c

View File

@ -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()));
}
}