From 01b23cdc7eec370f09d1c719b4437baa1d8572ed Mon Sep 17 00:00:00 2001 From: Beny Date: Sun, 13 Sep 2020 07:14:59 +0200 Subject: [PATCH] Fixed sitting rotate bug vending machines --- .../items/interactions/InteractionVendingMachine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionVendingMachine.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionVendingMachine.java index be0f5cba..4fdd0eb1 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionVendingMachine.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/InteractionVendingMachine.java @@ -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); }