Describe the bug
When trying to place multiple templates, the client can sometimes get stuck in an infinite loop because the nearest place location isn't open.
To Reproduce
Steps to reproduce the behavior:
- Connect API and authorize
- Begin placing in swap mode, send templates, commit placing.
- Player is unable to move and templates do not finish placing.
Expected behavior
Templates all place and control is restored to the player.
Screenshots
(N/A)
Checks
Please check all these for more infomation with the bug.
I tried patching it at https://github.com/ThatCreeper/CodeClient/tree/placefix, but I'm not totally confident in this being the proper fix.
Describe the bug
When trying to place multiple templates, the client can sometimes get stuck in an infinite loop because the nearest place location isn't open.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Templates all place and control is restored to the player.
Screenshots
(N/A)
Checks
Please check all these for more infomation with the bug.
I tried patching it at https://github.com/ThatCreeper/CodeClient/tree/placefix, but I'm not totally confident in this being the proper fix.