Beds: Make on_rotate function check new param2 instead of rotation mode
The on_rotate function now checks the new param2 value to determine if a rotation is valid, rather than checking the rotation mode. This is so screwdriver-like items with different rotation modes will not be able to rotate the bed into invalid orientations.
Please register or sign in to comment