Fixed sitting rotate bug vending machines

This commit is contained in:
Beny 2020-09-13 07:14:59 +02:00
parent e70bffccf3
commit 01b23cdc7e

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);
}