Merge branch '730-vending-machine-bug' into 'dev'

Fixed sitting rotate bug vending machines

See merge request morningstar/Arcturus-Community!290
This commit is contained in:
Harmonic 2020-09-19 13:17:01 -04:00
commit d82184ca83

View File

@ -71,7 +71,7 @@ public class InteractionVendingMachine extends HabboItem {
this.setExtradata("1");
room.updateItem(this);
if(!unit.isWalking()) {
if(!unit.isWalking() && !unit.hasStatus(RoomUnitStatus.SIT) && !unit.hasStatus(RoomUnitStatus.LAY)) {
this.rotateToMachine(room, unit);
}