From 1932eb856f3c6e444845a372c4c4bd30e148a27d Mon Sep 17 00:00:00 2001 From: Kitt Mustang Date: Tue, 6 Oct 2020 19:43:11 -0400 Subject: [PATCH] Wired "Change Furni Direction" now activates even if the Habbo is sitting in a chair. See merge request morningstar/Arcturus-Community!308 --- README.md | 2 +- .../wired/effects/WiredEffectChangeFurniDirection.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8a4a8145..364c2985 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Arcturus Morningstar is released under the [GNU General Public License v3](https ## Versions ## ![image](https://img.shields.io/badge/VERSION-2.4.0-success.svg?style=for-the-badge&logo=appveyor) -![image](https://img.shields.io/badge/STATUS-UNSTABLE-red.svg?style=for-the-badge&logo=appveyor) +![image](https://img.shields.io/badge/STATUS-STABLE-blue.svg?style=for-the-badge&logo=appveyor) Compiled Download: https://git.krews.org/morningstar/Arcturus-Community/releases diff --git a/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectChangeFurniDirection.java b/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectChangeFurniDirection.java index 7ac99dae..9733b4a7 100644 --- a/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectChangeFurniDirection.java +++ b/src/main/java/com/eu/habbo/habbohotel/items/interactions/wired/effects/WiredEffectChangeFurniDirection.java @@ -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;