mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35: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 (itemMeta.hasLore() && sfitemMeta.hasLore() && !equalsLore(itemMeta.getLore(), sfitemMeta.getLore())
|
||||
|| itemMeta.hasLore() != sfitemMeta.hasLore()) {
|
||||
if (itemMeta.hasLore() && sfitemMeta.hasLore() && !equalsLore(itemMeta.getLore(), sfitemMeta.getLore())) {
|
||||
return false;
|
||||
}
|
||||
else if (itemMeta.hasLore() != sfitemMeta.hasLore()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user