Rename MaplePortal
This commit is contained in:
@@ -814,7 +814,7 @@ public final class PlayerInteractionHandler extends AbstractPacketHandler {
|
||||
}
|
||||
|
||||
Point cpos = chr.getPosition();
|
||||
MaplePortal portal = chr.getMap().findClosestTeleportPortal(cpos);
|
||||
Portal portal = chr.getMap().findClosestTeleportPortal(cpos);
|
||||
if (portal != null && portal.getPosition().distance(cpos) < 120.0) {
|
||||
chr.sendPacket(PacketCreator.getMiniRoomError(10));
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user