mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: GregF <gregf36665@gmail.com>
This commit is contained in:
parent
d65eee6e8c
commit
0161a000b5
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ object RegionManager {
|
|||
* @return The scenery, or `null` if no object was found.
|
||||
*/
|
||||
@JvmStatic
|
||||
fun getObject(z: Int, x: Int, y: Int, objectId: Int, type: Int): Scenery? {
|
||||
fun getObject(z: Int, x: Int, y: Int, objectId: Int, type: Int = -1): Scenery? {
|
||||
val loc = Location(x, y, z)
|
||||
val region = forId(loc.regionId)
|
||||
Region.load(region)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue