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:
Kitt Mustang 2020-10-06 19:43:11 -04:00 committed by Beny
parent 683ff1dd1d
commit 1932eb856f
2 changed files with 2 additions and 2 deletions

View File

@ -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

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;