mirror of
https://github.com/seppukudevelopment/seppuku
synced 2024-12-26 00:22:06 +00:00
ElytraFly: Adds new aliases
This commit is contained in:
parent
dc80e6fc3f
commit
d277d6e328
@ -133,15 +133,13 @@ public final class TpsGraphComponent extends ResizableHudComponent {
|
||||
|
||||
public TpsNode(float tps) {
|
||||
super(0, 0);
|
||||
|
||||
this.tps = tps;
|
||||
|
||||
int colorR = (int) MathUtil.map(tps, 0, 20, 255, 0);
|
||||
int colorG = (int) MathUtil.map(tps, 0, 20, 0, 255);
|
||||
int colorB = 0;
|
||||
|
||||
this.color = new Color(colorR, colorG, colorB);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -49,7 +49,7 @@ public final class ElytraFlyModule extends Module {
|
||||
private final Timer equipDelayTimer = new Timer();
|
||||
|
||||
public ElytraFlyModule() {
|
||||
super("ElytraFly", new String[]{"Elytra"}, "Allows you to fly with elytras", "NONE", -1, ModuleType.MOVEMENT);
|
||||
super("ElytraFly", new String[]{"Elytra", "ElytraPlus", "Elytra+"}, "Allows you to fly with elytras", "NONE", -1, ModuleType.MOVEMENT);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user