remove default argument for jvmstatic method

This commit is contained in:
Player Name 2026-07-27 08:54:09 +02:00
parent a356fef354
commit 917827ce8d

View file

@ -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)