Browse Source

Timings - Aikar's old flags

master
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",
value="Your Xmx and Xms values must be equal with Aikar's flags.",
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:
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/).",

Loading…
Cancel
Save