Skip to content

Commit

Permalink
Remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
anastarawneh committed Oct 28, 2024
1 parent fe3ae6a commit 8a1d54d
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,17 @@ private void handleMccServerPacket(ClientboundMccServerPacket packet, ClientPlay
switch (packet.serverType()) {
case "hole-in-the-wall":
MCCINametagMod.GAME = Game.HOLE_IN_THE_WALL;
HoleInTheWall.setNametag();
break;
case "tgttos":
MCCINametagMod.GAME = Game.TGTTOS;
TGTTOS.setNametag();
break;
case "battle-box":
MCCINametagMod.GAME = Game.BATTLE_BOX;
MCCINametagMod.STAGE = "";
BattleBox.setNametag();
break;
case "sky-battle":
MCCINametagMod.GAME = Game.SKY_BATTLE;
MCCINametagMod.STAGE = "";
SkyBattle.setNametag();
break;
case "parkour-warrior":
if (packet.subType().equals("main")) MCCINametagMod.GAME = Game.PARKOUR_WARRIOR_DOJO;
Expand Down

0 comments on commit 8a1d54d

Please sign in to comment.