Browse Source

Timings - more checks

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

18
cogs/timings.py

@ -817,6 +817,24 @@ class Timings(commands.Cog):
except KeyError:
unchecked = unchecked + 1
try:
fix_climbing_bypass_gamerule = r["timingsMaster"]["config"]["paper"]["world-settings"]["default"]["fix-climbing-bypassing-cramming-rule"]
if fix_climbing_bypass_gamerule == "false":
embed_var.add_field(name="⚠ fix-climbing-bypassing-cramming-rule",
value="Enable this in paper.yml.",
inline=True)
except KeyError:
unchecked = unchecked + 1
try:
armor_stands_do_collision_entity_lookups = r["timingsMaster"]["config"]["paper"]["world-settings"]["default"]["armor-stands-do-collision-entity-lookups"]
if armor_stands_do_collision_entity_lookups == "true":
embed_var.add_field(name="⚠ armor-stands-do-collision-entity-lookups",
value="Disable this in paper.yml.",
inline=True)
except KeyError:
unchecked = unchecked + 1
try:
plugins = r["timingsMaster"]["plugins"]
armor_stands_tick = r["timingsMaster"]["config"]["paper"]["world-settings"]["default"]["armor-stands-tick"]

Loading…
Cancel
Save