mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
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:
commit
d82184ca83
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user