Skip to content

Commit

Permalink
Fix the fucking genders LMFAO
Browse files Browse the repository at this point in the history
  • Loading branch information
Noxiuam committed Mar 23, 2022
1 parent 92cc91b commit 9dcad84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/java/gq/noxiuam/bitches/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public Main() {
int age = new Random().nextInt(30) + 18;

Race race = Race.values()[new Random().nextInt(Race.values().length)];
Gender gender = Gender.values()[new Random().nextInt(Race.values().length)];
Gender gender = Gender.values()[new Random().nextInt(Gender.values().length)];

// Windows users get all the bitches!
if (os.contains("Windows")) {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/gq/noxiuam/bitches/object/Bitch.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ public void createNewBitch() {
this.setName(new Faker().name().firstName());
this.setAge(new Random().nextInt(30) + 18);
this.setRace(Race.values()[new Random().nextInt(Race.values().length)]);
this.setGender(Gender.values()[new Random().nextInt(Race.values().length)]);
this.setGender(Gender.values()[new Random().nextInt(Gender.values().length)]);
}
}
4 changes: 2 additions & 2 deletions src/main/java/gq/noxiuam/bitches/object/data/Gender.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package gq.noxiuam.bitches.object.data;

public enum Gender {
BOY,
GIRL,
MALE,
FEMALE,
OTHER
}

0 comments on commit 9dcad84

Please sign in to comment.