summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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]