diff --git a/code/modules/library/lib_items.dm b/code/modules/library/lib_items.dm
index 619279c9034..6b396ab9158 100644
--- a/code/modules/library/lib_items.dm
+++ b/code/modules/library/lib_items.dm
@@ -49,10 +49,11 @@
if(1)
if(istype(I, /obj/item/stack/sheet/mineral/wood))
var/obj/item/stack/sheet/mineral/wood/W = I
- W.use(2)
- user << "You add a shelf."
- state = 2
- icon_state = "book-0"
+ if(W.get_amount() >= 2)
+ W.use(2)
+ user << "You add a shelf."
+ state = 2
+ icon_state = "book-0"
if(istype(I, /obj/item/weapon/wrench))
playsound(loc, 'sound/items/Ratchet.ogg', 100, 1)
user << "You unwrench the frame."
@@ -83,7 +84,7 @@
else
playsound(loc, 'sound/items/Crowbar.ogg', 100, 1)
user << "You pry the shelf out."
- new /obj/item/stack/sheet/mineral/wood(loc, 1)
+ new /obj/item/stack/sheet/mineral/wood(loc, 2)
state = 1
icon_state = "bookempty"
else