Commit a3e0f7f5 authored by Magix's avatar Magix Committed by GitHub
Browse files

Update HandlerSceneTransToPointReq.java

parent d24c10ee
...@@ -28,6 +28,7 @@ public class HandlerSceneTransToPointReq extends PacketHandler { ...@@ -28,6 +28,7 @@ public class HandlerSceneTransToPointReq extends PacketHandler {
if (session.getPlayer().getWorld().transferPlayerToScene(session.getPlayer(), req.getSceneId(), TeleportType.WAYPOINT, new Position(x, y, z))) { if (session.getPlayer().getWorld().transferPlayerToScene(session.getPlayer(), req.getSceneId(), TeleportType.WAYPOINT, new Position(x, y, z))) {
session.send(new PacketSceneTransToPointRsp(session.getPlayer(), req.getPointId(), req.getSceneId())); session.send(new PacketSceneTransToPointRsp(session.getPlayer(), req.getPointId(), req.getSceneId()));
}
} else { } else {
session.send(new PacketSceneTransToPointRsp()); session.send(new PacketSceneTransToPointRsp());
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment