mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Fix avatars not rotating with wf_act_match_to_sshot (fixes #314)
This commit is contained in:
parent
f695f2f5b4
commit
b425bb6856
@ -60,6 +60,17 @@ public class WiredEffectMatchFurni extends InteractionWiredEffect {
|
||||
if (this.direction) {
|
||||
item.setRotation(setting.rotation);
|
||||
slideAnimation = false;
|
||||
|
||||
room.scheduledTasks.add(() -> {
|
||||
room.getLayout().getTilesAt(room.getLayout().getTile(item.getX(), item.getY()), item.getBaseItem().getWidth(), item.getBaseItem().getLength(), oldRotation).forEach(t -> {
|
||||
room.updateBotsAt(t.x, t.y);
|
||||
room.updateHabbosAt(t.x, t.y);
|
||||
});
|
||||
room.getLayout().getTilesAt(room.getLayout().getTile(item.getX(), item.getY()), item.getBaseItem().getWidth(), item.getBaseItem().getLength(), setting.rotation).forEach(t -> {
|
||||
room.updateBotsAt(t.x, t.y);
|
||||
room.updateHabbosAt(t.x, t.y);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
//room.sendComposer(new ItemStateComposer(item).compose());
|
||||
|
Loading…
Reference in New Issue
Block a user