mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2024-12-28 17:47:41 +01:00
Update formatting
This commit is contained in:
parent
d200616fe1
commit
cde18dc529
@ -457,8 +457,7 @@ public class Util extends Queue {
|
|||||||
try {
|
try {
|
||||||
int c1 = 0;
|
int c1 = 0;
|
||||||
for (ItemStack o1 : items) {
|
for (ItemStack o1 : items) {
|
||||||
if (o1 != null) {
|
if (o1 != null && o1.getAmount() > 0) {
|
||||||
if (o1.getAmount() != 0) {
|
|
||||||
int c2 = 0;
|
int c2 = 0;
|
||||||
for (ItemStack o2 : items) {
|
for (ItemStack o2 : items) {
|
||||||
if (o2 != null && c2 > c1 && o1.isSimilar(o2) && !Util.isAir(o1.getType())) { // Ignores amount
|
if (o2 != null && c2 > c1 && o1.isSimilar(o2) && !Util.isAir(o1.getType())) { // Ignores amount
|
||||||
@ -469,7 +468,6 @@ public class Util extends Queue {
|
|||||||
c2++;
|
c2++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
c1++;
|
c1++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user