mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-01 22:14:49 +00:00
All players who take damage now get ignored for a bit, fixes entities getting hit in water and still getting moved too fast messages.
This commit is contained in:
1 parent
d7b0dfbbfc
commit
db0ad84614
3 files changed
+29
-9
No files matched your search
@@ -141,5 +141,20 @@ public class CommandManager implements CommandExecutor {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public static void sort(int a[],int n)
|
||||
{
|
||||
int i, j,t=0;
|
||||
for(i = 0; i < n; i++)
|
||||
{
|
||||
for(j = 1; j < (n-i); j++)
|
||||
{
|
||||
if(a[j-1] > a[j])
|
||||
{
|
||||
t = a[j-1];
|
||||
a[j-1]=a[j];
|
||||
a[j]=t;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user