Fix handling of artifact set
This commit is contained in:
parent
255e991cc3
commit
587c5b07b3
@ -67,7 +67,7 @@ module Hbc
|
|||||||
|
|
||||||
if value.nil? || (value.respond_to?(:to_a) && value.to_a.empty?) ||
|
if value.nil? || (value.respond_to?(:to_a) && value.to_a.empty?) ||
|
||||||
(value.respond_to?(:to_s) && value.to_s == "{}") ||
|
(value.respond_to?(:to_s) && value.to_s == "{}") ||
|
||||||
(artifact_name && !value.key?(artifact_name))
|
(artifact_name && !value.include?(artifact_name))
|
||||||
|
|
||||||
if artifact_name
|
if artifact_name
|
||||||
thing = artifact_name
|
thing = artifact_name
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user