diff --git a/manifest.json b/manifest.json index 775fd09..154b12d 100644 --- a/manifest.json +++ b/manifest.json @@ -17,5 +17,5 @@ "conflicts": [ "Jen" ], - "version": "1.6.15" + "version": "1.6.16" } \ No newline at end of file diff --git a/src/main.lua b/src/main.lua index 312b519..3d6c17c 100644 --- a/src/main.lua +++ b/src/main.lua @@ -321,7 +321,7 @@ local orig_draw_card = draw_card ---@diagnostic disable-next-line: lowercase-global function draw_card(a, b, c, d, e, f, ...) - if type(f) ~= "table" and not f.shattered and not f.destroyed then + if type(f) ~= "table" or (not f.shattered and not f.destroyed) then return orig_draw_card(a, b, c, d, e, f, ...) end end