From e3e5b574d8c4eb581f0c5639752abde5f73a93dc Mon Sep 17 00:00:00 2001 From: Emik Date: Tue, 26 May 2026 15:10:48 +0200 Subject: [PATCH] Fix hook --- manifest.json | 2 +- src/main.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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