mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Fixes crafting 0 stacks (#13213)
Co-authored-by: AffectedArc07 <josephcase55@hotmail.com> Co-authored-by: AffectedArc07 <josephcase55@hotmail.com>
This commit is contained in:
co-authored by
AffectedArc07
parent
8fdc0a6245
commit
f9ce7b3c3d
@@ -313,6 +313,11 @@
|
||||
/mob/living/carbon/human/put_in_hands(obj/item/I)
|
||||
if(!I)
|
||||
return FALSE
|
||||
if(istype(I, /obj/item/stack))
|
||||
var/obj/item/stack/S = I
|
||||
if(S.amount == 0)
|
||||
qdel(I)
|
||||
return FALSE
|
||||
if(put_in_active_hand(I))
|
||||
return TRUE
|
||||
else if(put_in_inactive_hand(I))
|
||||
|
||||
Reference in New Issue
Block a user