ElytraFly: Adds metadata of usable elytras

This commit is contained in:
noil 2020-12-16 12:00:47 -05:00
parent 633b78f48b
commit 10715410c5

View File

@ -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();