diff --git a/script/world.js b/script/world.js index f6dc6d51..4a7bc8d1 100644 --- a/script/world.js +++ b/script/world.js @@ -436,7 +436,7 @@ var World = { World.danger = false; return true; } - if(World.getDistance < 18 && $SM.get('stores["i armour"]', true) > 0) { + if(World.getDistance() < 18 && $SM.get('stores["i armour"]', true) > 0) { World.danger = false; return true; }