diff --git a/src/main/java/com/eu/habbo/habbohotel/rooms/RoomLayout.java b/src/main/java/com/eu/habbo/habbohotel/rooms/RoomLayout.java index 55fee2f7..2ffe4bbd 100644 --- a/src/main/java/com/eu/habbo/habbohotel/rooms/RoomLayout.java +++ b/src/main/java/com/eu/habbo/habbohotel/rooms/RoomLayout.java @@ -318,8 +318,8 @@ public class RoomLayout { } } - if (!this.room.isAllowWalkthrough() && !isWalktroughRetry) { - return this.findPath(oldTile, newTile, goalLocation, roomUnit, false); + if (this.room.isAllowWalkthrough() && isWalktroughRetry) { + return this.findPath(oldTile, newTile, goalLocation, roomUnit, true); } return null;