mirror of
https://gitlab.com/2009scape/tools/rs09-thanos-tool.git
synced 2026-08-01 14:39:20 -06:00
Make load-by-coords slightly better
This commit is contained in:
parent
4b673c9063
commit
12cfdbbc40
1 changed files with 1 additions and 1 deletions
|
|
@ -324,7 +324,7 @@ object Rs2MapEditor {
|
|||
addActionListener {
|
||||
val coords = JOptionPane.showInputDialog("Enter Coords")
|
||||
val components = coords.split(",").map { it.trim { it <= ' ' }.toInt() }.toIntArray()
|
||||
val regionId = Util.getRegionId (TableData.Location(components[0], components[1], components[2]))
|
||||
val regionId = Util.getRegionId (TableData.Location(components[0], components[1], 0))
|
||||
|
||||
Rs2MapEditor.loadRegion(regionId)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue