Browse Source

Update timings.py

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

2
cogs/timings.py

@ -396,7 +396,7 @@ class Timings(commands.Cog):
embed_var.add_field(name="⚠ network-compression-threshold",
value="Increase this in server.properties. Recommended: 512.",
inline=True)
if network_compression_threshold != -1 and bungeecord == "true":
if network_compression_threshold != None and network_compression_threshold != -1 and bungeecord == "true":
embed_var.add_field(name="⚠ network-compression-threshold",
value="Set this to -1 in server.properties for a bungee server like yours.",
inline=True)

Loading…
Cancel
Save