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:
Beny 2020-10-06 19:43:11 -04:00
commit c8fe219339

View File

@ -68,7 +68,7 @@ public class WiredEffectChangeFurniDirection extends InteractionWiredEffect {
count++;
}
if (targetTile != null && targetTile.state == RoomTileState.OPEN) {
if (targetTile != null && targetTile.state != RoomTileState.INVALID) {
boolean hasHabbos = false;
for (Habbo habbo : room.getHabbosAt(targetTile)) {
hasHabbos = true;