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:
Adam committed 2012-05-01 15:55:00 -04:00
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;
}
}
}
}
}