mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-22 23:10:52 +01:00
Add club only check functionality to CatalogManager
This commit is contained in:
parent
3c18b060cc
commit
ecd1bf30c1
@ -650,9 +650,11 @@ public class CatalogManager {
|
||||
@Override
|
||||
public boolean execute(CatalogPage object) {
|
||||
if (object.getRank() <= habbo.getHabboInfo().getRank().getId() && object.visible) {
|
||||
if (object.isClubOnly() && !habbo.getHabboStats().hasActiveClub()) {
|
||||
return false;
|
||||
}
|
||||
pages.add(object);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user