From f1bf63d3539071dab72acc993cd1f5e4552e903f Mon Sep 17 00:00:00 2001 From: dam <27978131-real_damighty@users.noreply.gitlab.com> Date: Fri, 10 Apr 2026 00:27:16 +0300 Subject: [PATCH] MapArea canStartDeath() killer type nullability --- Server/src/main/core/api/MapArea.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/src/main/core/api/MapArea.kt b/Server/src/main/core/api/MapArea.kt index e138d975c..6b72737ef 100644 --- a/Server/src/main/core/api/MapArea.kt +++ b/Server/src/main/core/api/MapArea.kt @@ -5,7 +5,6 @@ import core.game.node.entity.Entity import core.game.node.entity.combat.CombatStyle import core.game.world.map.Location import core.game.world.map.zone.MapZone -import core.game.world.map.zone.RegionZone import core.game.world.map.zone.ZoneBorders import core.game.world.map.zone.ZoneRestriction @@ -38,7 +37,7 @@ interface MapArea : ContentInterface { * Return true/false if you want to allow the deaths, especially false for "safe" areas. * Return null if you want the default check in MapZone. (default) **/ - fun canStartDeath(entity: Entity, killer: Entity): Boolean? { return null } + fun canStartDeath(entity: Entity, killer: Entity?): Boolean? { return null } companion object { val zoneMaps = HashMap()