mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Made firemaking skillcape a valid light source for the giant mole
This commit is contained in:
parent
4e1ddaeec5
commit
0eaa6000e0
1 changed files with 2 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package content.region.asgarnia.falador.handlers;
|
||||
|
||||
import content.global.skill.skillcapeperks.SkillcapePerks;
|
||||
import core.cache.def.impl.SceneryDefinition;
|
||||
import core.game.component.Component;
|
||||
import core.game.component.ComponentDefinition;
|
||||
|
|
@ -257,7 +258,7 @@ public final class GiantMoleNPC extends AbstractNPC {
|
|||
DigAction action = new DigAction() {
|
||||
@Override
|
||||
public void run(Player player) {
|
||||
if (!LightSource.hasActiveLightSource(player)) {
|
||||
if (!SkillcapePerks.isActive(SkillcapePerks.CONSTANT_GLOW, player) && !LightSource.hasActiveLightSource(player)) {
|
||||
player.getPacketDispatch().sendMessage("It's going to be dark down there, I should bring a light source.");
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue