diff --git a/Server/src/main/core/game/world/map/RegionManager.kt b/Server/src/main/core/game/world/map/RegionManager.kt index 8a78e0a99..425aab878 100644 --- a/Server/src/main/core/game/world/map/RegionManager.kt +++ b/Server/src/main/core/game/world/map/RegionManager.kt @@ -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)