mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-26 04:45:11 -06:00
remove default argument for jvmstatic method
This commit is contained in:
parent
a356fef354
commit
917827ce8d
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 = -1): Scenery? {
|
||||
fun getObject(z: Int, x: Int, y: Int, objectId: Int, type: Int): 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