mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +01:00
Merge branch 'change-furni-direction-fix-chairs' into 'dev'
Wired "Change Furni Direction" now activates even if the Habbo is sitting in a chair See merge request morningstar/Arcturus-Community!308
This commit is contained in:
commit
c8fe219339
@ -68,7 +68,7 @@ public class WiredEffectChangeFurniDirection extends InteractionWiredEffect {
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (targetTile != null && targetTile.state == RoomTileState.OPEN) {
|
if (targetTile != null && targetTile.state != RoomTileState.INVALID) {
|
||||||
boolean hasHabbos = false;
|
boolean hasHabbos = false;
|
||||||
for (Habbo habbo : room.getHabbosAt(targetTile)) {
|
for (Habbo habbo : room.getHabbosAt(targetTile)) {
|
||||||
hasHabbos = true;
|
hasHabbos = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user