copy paste fail
This commit is contained in:
@@ -120,12 +120,6 @@ namespace ReallifeGamemode.Server.Job
|
|||||||
|
|
||||||
double distance = lastPosition.DistanceTo(v.Position) / 1000.0;
|
double distance = lastPosition.DistanceTo(v.Position) / 1000.0;
|
||||||
|
|
||||||
if(!player.GetUser()?.IsAdmin(AdminLevel.HEADADMIN) ?? true)
|
|
||||||
{
|
|
||||||
ChatService.NotAuthorized(player);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (player.GetUser()?.IsAdmin(AdminLevel.PLAYER) ?? true)
|
if (player.GetUser()?.IsAdmin(AdminLevel.PLAYER) ?? true)
|
||||||
{
|
{
|
||||||
if (distance > 0.5) { ChatService.BroadcastAdmin($"Möglicher Cheater - {player.Name}", AdminLevel.MAPPING); continue; }
|
if (distance > 0.5) { ChatService.BroadcastAdmin($"Möglicher Cheater - {player.Name}", AdminLevel.MAPPING); continue; }
|
||||||
|
|||||||
Reference in New Issue
Block a user