mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
commit
f4d280a240
@ -94,11 +94,9 @@ public final class ArrayUtils {
|
||||
|
||||
for (int i = 0; i < length; i++) {
|
||||
final T value1 = array1[i];
|
||||
for (int j = 0; j < length; j++) {
|
||||
final T value2 = array2[j];
|
||||
if (!value1.equals(value2)) {
|
||||
return false;
|
||||
}
|
||||
final T value2 = array2[i];
|
||||
if (!value1.equals(value2)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user