1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2025-01-22 06:00:23 +01:00

Message player if inbox is full

This commit is contained in:
Jordan Irwin 2021-06-23 21:03:17 -07:00
parent b30d7b532b
commit 04504f3ff8
No known key found for this signature in database
GPG Key ID: E3E358C2F44C290A
2 changed files with 2 additions and 0 deletions

View File

@ -79,6 +79,7 @@ homedecor.register("inbox", {
if inv:room_for_item("main", stack) then if inv:room_for_item("main", stack) then
return -1 return -1
else else
core.chat_send_player(player:get_player_name(), S("This mailbox is full."))
return 0 return 0
end end
end end

View File

@ -1,3 +1,4 @@
# textdomain: homedecor_inbox # textdomain: homedecor_inbox
Mailbox= Mailbox=
@1's Mailbox= @1's Mailbox=
This mailbox is full.=