mirror of
https://github.com/seppukudevelopment/seppuku
synced 2024-12-27 17:12:09 +00:00
ElytraFly: Adds metadata of usable elytras
This commit is contained in:
parent
633b78f48b
commit
10715410c5
@ -70,6 +70,14 @@ public final class ElytraFlyModule extends Module {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMetaData() {
|
||||
if (this.autoEquip.getValue())
|
||||
return "" + this.getElytraCount();
|
||||
|
||||
return super.getMetaData();
|
||||
}
|
||||
|
||||
@Listener
|
||||
public void onWalkingUpdate(EventUpdateWalkingPlayer event) {
|
||||
final Minecraft mc = Minecraft.getMinecraft();
|
||||
|
Loading…
Reference in New Issue
Block a user