mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Fix an incorrect comparison in audio (#5643)
Signed-off-by: Draper <27962761+Drapersniper@users.noreply.github.com>
This commit is contained in:
parent
511de5163f
commit
d8e20afa1d
@ -250,7 +250,7 @@ class ServerManager:
|
||||
invalid = None
|
||||
if match and (
|
||||
(int(match.group(1)) * 1024 ** (2 if match.group(2).lower() == "m" else 3))
|
||||
< (meta := get_max_allocation_size(self._java_exc))[0]
|
||||
<= (meta := get_max_allocation_size(self._java_exc))[0]
|
||||
):
|
||||
command_args.append(f"-Xmx{java_xmx}")
|
||||
elif meta[0] is not None:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user