mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Simplify Nuker names in HackList
This commit is contained in:
parent
e107f441c7
commit
2324ad3cce
@ -73,25 +73,14 @@ public final class NukerHack extends Hack
|
||||
@Override
|
||||
public String getRenderName()
|
||||
{
|
||||
switch(mode.getSelected())
|
||||
return getName() + switch(mode.getSelected())
|
||||
{
|
||||
default:
|
||||
case NORMAL:
|
||||
return getName();
|
||||
|
||||
case ID:
|
||||
return "IDNuker [" + id.getShortBlockName() + "]";
|
||||
|
||||
case MULTI_ID:
|
||||
int ids = multiIdList.size();
|
||||
return "MultiIDNuker [" + ids + (ids == 1 ? " ID]" : " IDs]");
|
||||
|
||||
case FLAT:
|
||||
return "FlatNuker";
|
||||
|
||||
case SMASH:
|
||||
return "SmashNuker";
|
||||
}
|
||||
case ID -> " [ID:" + id.getShortBlockName() + "]";
|
||||
case MULTI_ID -> " [MultiID:" + multiIdList.size() + "]";
|
||||
case FLAT -> " [Flat]";
|
||||
case SMASH -> " [Smash]";
|
||||
default -> "";
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -79,25 +79,14 @@ public final class NukerLegitHack extends Hack implements UpdateListener,
|
||||
@Override
|
||||
public String getRenderName()
|
||||
{
|
||||
switch(mode.getSelected())
|
||||
return getName() + switch(mode.getSelected())
|
||||
{
|
||||
default:
|
||||
case NORMAL:
|
||||
return getName();
|
||||
|
||||
case ID:
|
||||
return "IDNukerLegit [" + id.getShortBlockName() + "]";
|
||||
|
||||
case MULTI_ID:
|
||||
int ids = multiIdList.size();
|
||||
return "MultiIDNukerLegit [" + ids + (ids == 1 ? " ID]" : " IDs]");
|
||||
|
||||
case FLAT:
|
||||
return "FlatNukerLegit";
|
||||
|
||||
case SMASH:
|
||||
return "SmashNukerLegit";
|
||||
}
|
||||
case ID -> " [ID:" + id.getShortBlockName() + "]";
|
||||
case MULTI_ID -> " [MultiID:" + multiIdList.size() + "]";
|
||||
case FLAT -> " [Flat]";
|
||||
case SMASH -> " [Smash]";
|
||||
default -> "";
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -68,25 +68,14 @@ public final class SpeedNukerHack extends Hack
|
||||
@Override
|
||||
public String getRenderName()
|
||||
{
|
||||
switch(mode.getSelected())
|
||||
return getName() + switch(mode.getSelected())
|
||||
{
|
||||
default:
|
||||
case NORMAL:
|
||||
return getName();
|
||||
|
||||
case ID:
|
||||
return "IDSpeedNuker [" + id.getShortBlockName() + "]";
|
||||
|
||||
case MULTI_ID:
|
||||
int ids = multiIdList.size();
|
||||
return "MultiIDSpeedNuker [" + ids + (ids == 1 ? " ID]" : " IDs]");
|
||||
|
||||
case FLAT:
|
||||
return "FlatSpeedNuker";
|
||||
|
||||
case SMASH:
|
||||
return "SmashSpeedNuker";
|
||||
}
|
||||
case ID -> " [ID:" + id.getShortBlockName() + "]";
|
||||
case MULTI_ID -> " [MultiID:" + multiIdList.size() + "]";
|
||||
case FLAT -> " [Flat]";
|
||||
case SMASH -> " [Smash]";
|
||||
default -> "";
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user