mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Fixed sitting rotate bug vending machines
This commit is contained in:
parent
e70bffccf3
commit
01b23cdc7e
@ -71,7 +71,7 @@ public class InteractionVendingMachine extends HabboItem {
|
|||||||
this.setExtradata("1");
|
this.setExtradata("1");
|
||||||
room.updateItem(this);
|
room.updateItem(this);
|
||||||
|
|
||||||
if(!unit.isWalking()) {
|
if(!unit.isWalking() && !unit.hasStatus(RoomUnitStatus.SIT) && !unit.hasStatus(RoomUnitStatus.LAY)) {
|
||||||
this.rotateToMachine(room, unit);
|
this.rotateToMachine(room, unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user