From 2bada071ed5dbc037242fd15d4b5f46770d79835 Mon Sep 17 00:00:00 2001 From: Beny Date: Sun, 19 May 2019 21:43:11 +0100 Subject: [PATCH] Added config for stripping un-owned clothes clothing.strip_unowned --- src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java index d4bc2357..bed421ad 100644 --- a/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java +++ b/src/main/java/com/eu/habbo/habbohotel/users/HabboInfo.java @@ -221,7 +221,7 @@ public class HabboInfo implements Runnable } public void setLook(String look, boolean stripForbidden) { - if (stripForbidden) { + if (stripForbidden && Emulator.getConfig().getBoolean("clothing.strip_unowned", false)) { Habbo habbo = Emulator.getGameEnvironment().getHabboManager().getHabbo(this.id); if (habbo != null) look = FigureUtil.stripBlacklistedClothing(look, habbo.getForbiddenClothing());