mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 15:22:16 +00:00
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:
parent
faeb96927a
commit
9cb9fe099c
@ -38,6 +38,7 @@ public class HandlerTryEnterHomeReq extends PacketHandler {
|
|||||||
boolean result = session.getPlayer().getWorld().transferPlayerToScene(
|
boolean result = session.getPlayer().getWorld().transferPlayerToScene(
|
||||||
session.getPlayer(), realmId,
|
session.getPlayer(), realmId,
|
||||||
TeleportType.WAYPOINT, pos
|
TeleportType.WAYPOINT, pos
|
||||||
); if (result) session.send(new PacketTryEnterHomeRsp(req.getTargetUid()));
|
);
|
||||||
|
if (result) session.send(new PacketTryEnterHomeRsp(req.getTargetUid()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user