|
@ -227,6 +227,8 @@ class Timings(commands.Cog): |
|
|
print("Missing: " + str(key)) |
|
|
print("Missing: " + str(key)) |
|
|
|
|
|
|
|
|
try: |
|
|
try: |
|
|
|
|
|
using_tweaks = "ViewDistanceTweaks" in plugins |
|
|
|
|
|
if not using_tweaks: |
|
|
using_ntvd = True |
|
|
using_ntvd = True |
|
|
worlds = request_raw["worlds"] |
|
|
worlds = request_raw["worlds"] |
|
|
tvd = None |
|
|
tvd = None |
|
@ -236,8 +238,6 @@ class Timings(commands.Cog): |
|
|
if ntvd <= tvd and tvd >= 4: |
|
|
if ntvd <= tvd and tvd >= 4: |
|
|
using_ntvd = False |
|
|
using_ntvd = False |
|
|
if not using_ntvd: |
|
|
if not using_ntvd: |
|
|
using_tweaks = "ViewDistanceTweaks" in plugins |
|
|
|
|
|
if not using_tweaks: |
|
|
|
|
|
if spigot["world-settings"]["default"]["view-distance"] == "default": |
|
|
if spigot["world-settings"]["default"]["view-distance"] == "default": |
|
|
embed_var.add_field(name="❌ no-tick-view-distance", |
|
|
embed_var.add_field(name="❌ no-tick-view-distance", |
|
|
value=f"Set in [paper.yml](http://bit.ly/paperconf). Recommended: {tvd}. " |
|
|
value=f"Set in [paper.yml](http://bit.ly/paperconf). Recommended: {tvd}. " |
|
|