Skip to content

Commit

Permalink
Removed April Fools "virus checker" joke
Browse files Browse the repository at this point in the history
- Removed April Fools "virus checker" joke
  • Loading branch information
Prospector committed Jun 8, 2023
1 parent 1650009 commit 88ce3f4
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,6 @@ public void draw(MatrixStack matrices, int mouseX, int mouseY) {
this.badgeY = startY;
Set<Mod.Badge> badges = mod.getBadges();
badges.forEach(badge -> drawBadge(matrices, badge, mouseX, mouseY));
if (ModMenuConfig.EASTER_EGGS.getValue()) {
//noinspection MagicConstant
if (Calendar.getInstance().get(0b10) == 0b11 && Calendar.getInstance().get(0b101) == 0x1) {
if (mod.getId().equals(new String(new byte[]{109, 111, 100, 109, 101, 110, 117}, StandardCharsets.UTF_8))) {
drawBadge(matrices, Text.literal(new String(new byte[]{-30, -100, -104, 32, 86, 105, 114, 117, 115, 32, 68, 101, 116, 101, 99, 116, 101, 100}, StandardCharsets.UTF_8)).asOrderedText(), 0b10001000111111110010001000100010, 0b10001000011111110000100000001000, mouseX, mouseY);
} else if (mod.getId().contains(new String(new byte[]{116, 97, 116, 101, 114}, StandardCharsets.UTF_8))) {
drawBadge(matrices, Text.literal(new String(new byte[]{116, 97, 116, 101, 114}, StandardCharsets.UTF_8)).asOrderedText(), 0b10001000111010111011001100101011, 0b10001000100110010111000100010010, mouseX, mouseY);
} else {
drawBadge(matrices, Text.literal(new String(new byte[]{-30, -100, -108, 32, 98, 121, 32, 77, 99, 65, 102, 101, 101}, StandardCharsets.UTF_8)).asOrderedText(), 0b10001000000111011111111101001000, 0b10001000000001110110100100001110, mouseX, mouseY);
}
}
}
}

public void drawBadge(MatrixStack matrices, Mod.Badge badge, int mouseX, int mouseY) {
Expand Down

0 comments on commit 88ce3f4

Please sign in to comment.