Update code/datums/components/storage/concrete/bag_of_holding.dm

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
silicons
2020-06-30 20:27:30 -07:00
committed by GitHub
parent 837a77585c
commit 8f30d7f4d1
@@ -36,6 +36,6 @@
. = ..()
/datum/component/storage/concrete/bluespace/bag_of_holding/can_be_inserted(obj/item/I, stop_messages = FALSE, mob/M)
if(istype(I, /obj/item/storage/backpack/holding))
if(I.GetComponent(datum/component/storage/concrete/bluespace/bag_of_holding))
return TRUE
return ..()