Disallow digging a bed if in use

Use a new table beds.bed_position to check if a bed is in use.
This commit is contained in:
bell07 2018-06-19 23:07:01 +02:00 committed by Paramat
parent e9fbd3d75d
commit 5692c15b4d
4 changed files with 22 additions and 0 deletions

View file

@ -1,5 +1,6 @@
beds = {}
beds.player = {}
beds.bed_position = {}
beds.pos = {}
beds.spawn = {}