mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Added config for stripping un-owned clothes clothing.strip_unowned
This commit is contained in:
parent
f26c9f527f
commit
2bada071ed
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user