mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 07:20:50 +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) {
|
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);
|
Habbo habbo = Emulator.getGameEnvironment().getHabboManager().getHabbo(this.id);
|
||||||
|
|
||||||
if (habbo != null) look = FigureUtil.stripBlacklistedClothing(look, habbo.getForbiddenClothing());
|
if (habbo != null) look = FigureUtil.stripBlacklistedClothing(look, habbo.getForbiddenClothing());
|
||||||
|
Loading…
Reference in New Issue
Block a user