Skip to content

Commit

Permalink
Message player if inbox is full
Browse files Browse the repository at this point in the history
  • Loading branch information
AntumDeluge committed Jan 6, 2025
1 parent f7d5164 commit dc9fa8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homedecor_inbox/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ homedecor.register("inbox", {
if inv:room_for_item("main", stack) then
return -1
else
core.chat_send_player(player:get_player_name(), S("The mailbox is full."))
return 0
end
end
Expand Down

0 comments on commit dc9fa8f

Please sign in to comment.