summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/characters/hearth_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/characters/hearth_controller.rb b/app/controllers/characters/hearth_controller.rb
index 02b8446..8cbd368 100644
--- a/app/controllers/characters/hearth_controller.rb
+++ b/app/controllers/characters/hearth_controller.rb
@@ -9,6 +9,7 @@ class Characters::HearthController < ApplicationController
}
Activity.where("gid like ?", "craft_%").each do |activity|
+ next unless current_char.can_do_activity? activity
activity.whatnot[:requirements]&.each do |requirement_data|
if requirement_data[:type] == "hearth_amenity"
case requirement_data[:gid]