Destroy Bed
marcodluz opened this issue ยท 1 comments
First Problem:
I have a roleplay server and I rent apartments there. When someone rents an apartment, they can set their home by placing a bed and clicking one time on the bed. Then when the rent time ends the apartment removes everything including the bed. But If someone else rents the same apartment and place a bed 5 blocks range from the other bed was, the first player who rented can spawn there again.
Second Problem:
If someone rents and apartment and places a bed (example: floor 1), when the rent time ends and there is a bed on the other floor (floor 2) with 5 blocks range, the player can spawn there again.
This 2 bugs can be solved if the player spawns only in the clickable bed and if the bed is deleted, the home is deleted too. Please answer me as soon as posible.
Thanks,
Voltaage Team.
Website: www.voltaage.com
IP: mc.voltaage.com
The main problem is because destroyed physical bed not remove "bed home" in the database, so player still allow to respawn
Main solution is use modeRequiresBed in strategy, but it seems do not work as related #120