From 9dcad84d1b865d81545fe5e1567146d955fb8f6a Mon Sep 17 00:00:00 2001 From: Noxiuam <96212795+Noxiuam@users.noreply.github.com> Date: Wed, 23 Mar 2022 12:58:04 -0400 Subject: [PATCH] Fix the fucking genders LMFAO --- src/main/java/gq/noxiuam/bitches/Main.java | 2 +- src/main/java/gq/noxiuam/bitches/object/Bitch.java | 2 +- src/main/java/gq/noxiuam/bitches/object/data/Gender.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/gq/noxiuam/bitches/Main.java b/src/main/java/gq/noxiuam/bitches/Main.java index 0e10896..9b943f0 100644 --- a/src/main/java/gq/noxiuam/bitches/Main.java +++ b/src/main/java/gq/noxiuam/bitches/Main.java @@ -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")) { diff --git a/src/main/java/gq/noxiuam/bitches/object/Bitch.java b/src/main/java/gq/noxiuam/bitches/object/Bitch.java index b4415f7..6cca9c0 100644 --- a/src/main/java/gq/noxiuam/bitches/object/Bitch.java +++ b/src/main/java/gq/noxiuam/bitches/object/Bitch.java @@ -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)]); } } \ No newline at end of file diff --git a/src/main/java/gq/noxiuam/bitches/object/data/Gender.java b/src/main/java/gq/noxiuam/bitches/object/data/Gender.java index 910799b..969e1ce 100644 --- a/src/main/java/gq/noxiuam/bitches/object/data/Gender.java +++ b/src/main/java/gq/noxiuam/bitches/object/data/Gender.java @@ -1,7 +1,7 @@ package gq.noxiuam.bitches.object.data; public enum Gender { - BOY, - GIRL, + MALE, + FEMALE, OTHER }