Browse Source

Timings - Aikar's old flags

pull/3/head
DrBot7 4 years ago
committed by GitHub
parent
commit
93980572e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      cogs/timings.py

4
cogs/timings.py

@ -145,6 +145,10 @@ class Timings(commands.Cog):
embed_var.add_field(name="⚠ Aikar's Flags", embed_var.add_field(name="⚠ Aikar's Flags",
value="Your Xmx and Xms values must be equal with Aikar's flags.", value="Your Xmx and Xms values must be equal with Aikar's flags.",
inline=True) inline=True)
elif "-Dusing.aikars.flags=mcflags.emc.gs" in flags:
embed_var.add_field(name="⚠ Outdated Flags",
value="Update [Aikar's flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/).",
inline=True)
else: else:
embed_var.add_field(name="⚠ Aikar's Flags", embed_var.add_field(name="⚠ Aikar's Flags",
value="Use [Aikar's flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/).", value="Use [Aikar's flags](https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/).",

Loading…
Cancel
Save