mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Split up if statements
This commit is contained in:
parent
e40f7996bf
commit
c16e444995
@ -297,8 +297,10 @@ public final class SlimefunUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (checkLore) {
|
if (checkLore) {
|
||||||
if (itemMeta.hasLore() && sfitemMeta.hasLore() && !equalsLore(itemMeta.getLore(), sfitemMeta.getLore())
|
if (itemMeta.hasLore() && sfitemMeta.hasLore() && !equalsLore(itemMeta.getLore(), sfitemMeta.getLore())) {
|
||||||
|| itemMeta.hasLore() != sfitemMeta.hasLore()) {
|
return false;
|
||||||
|
}
|
||||||
|
else if (itemMeta.hasLore() != sfitemMeta.hasLore()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user