Browse Source

Disabled same xmx xms message

pull/1/head
elliot 3 years ago
parent
commit
d935b5a3c2
  1. 6
      cogs/timings.py

6
cogs/timings.py

@ -178,9 +178,9 @@ class Timings(commands.Cog):
min_mem = min_mem.replace("M", "")
min_mem = min_mem.replace("g", "000")
min_mem = min_mem.replace("m", "")
if min_mem != max_mem:
embed_var.add_field(name="❌ Aikar's Flags",
value="Your Xmx and Xms values should be equal when using Aikar's flags.")
# if min_mem != max_mem:
# embed_var.add_field(name="❌ Aikar's Flags",
# value="Your Xmx and Xms values should be equal when using Aikar's flags.")
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/).")

Loading…
Cancel
Save