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