Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Lemon ClickGUI With HeroCode Settings

How to make "for(Module mod : Client.moduleManager.getModulesInCategory(category)) {"
I've tried to make getModulesInCategory(category) could you please add a methode how to make this or write it to me?:)
Code:
public Module[] getModulesInCategory(final ModuleCategory moduleCategory) {
        return modules.stream().filter(module -> module.getCategory() == moduleCategory).toArray(Module[] :: new);
}

Sollte hinkommen.
 
How to make "for(Module mod : Client.moduleManager.getModulesInCategory(category)) {"
I've tried to make getModulesInCategory(category) could you please add a methode how to make this or write it to me?:)
I wrote one in the Frame.java file. You just need to uncomment it and put it in your ModuleManager. It should work with any basic ModuleManager
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top