Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added nocom crash :D #3

Merged
merged 5 commits into from
Apr 6, 2022
Merged

added nocom crash :D #3

merged 5 commits into from
Apr 6, 2022

Conversation

TaxEvasiqn
Copy link
Contributor

No description provided.

Copy link

@SIMULATAN SIMULATAN left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found some minor things

import java.util.Random;

public class NoComCrash extends Module{
final Random r = new Random();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tf


public class NoComCrash extends Module{
final Random r = new Random();
int i = 0;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's this for


private final Setting<Boolean> autoDisable = sgGeneral.add(new BoolSetting.Builder()
.name("auto-disable")
.description("Disables module on kick.")

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather write "Disable the module when disconnected" or smth

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would remove this setting entirely because it is not being used at all

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:O didn't even notice that LOL

@C10udburst
Copy link
Member

looks mostly fine. could you remove the unused variables and fix the formatting slightly (remove the 14 spaces and add a space before {)?

@TaxEvasiqn
Copy link
Contributor Author

i have fixed my idiocy

@C10udburst C10udburst merged commit 3de6cb3 into AntiCope:master Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants