diff --git a/EXILED/Exiled.Events/Commands/TpsCommand.cs b/EXILED/Exiled.Events/Commands/TpsCommand.cs index fe2aa69c2..2d7412919 100644 --- a/EXILED/Exiled.Events/Commands/TpsCommand.cs +++ b/EXILED/Exiled.Events/Commands/TpsCommand.cs @@ -31,7 +31,7 @@ public class TpsCommand : ICommand /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) { - double diff = Server.Tps / ServerStatic.ServerTickrate; + double diff = Server.Tps / Server.MaxTps; string color = diff switch { > 0.9 => "green", @@ -39,7 +39,7 @@ public bool Execute(ArraySegment arguments, ICommandSender sender, out s _ => "red" }; - response = $"{Server.Tps}/{ServerStatic.ServerTickrate}"; + response = $"{Server.Tps}/{Server.MaxTps}"; return true; } }