mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-24 09:39:40 -05:00
Fix lores detect
Former-commit-id: f9c4163d4856fbc882628e1cbfcfd409939b6760 [formerly 7031b9582487971949b09ddc6fce91fd6414d7ec] Former-commit-id: 1377f97bf4acb6a0f795c9b2f77dd004f921e59a
This commit is contained in:
1 parent
a424de6ac7
commit
474ff1ca2f
1 file changed
+4
@@ -171,6 +171,10 @@ public class ItemMatcher {
|
||||
List<String> lores2 = meta2.getLore();
|
||||
if (lores1.size() != lores2.size())
|
||||
return false;
|
||||
for (int i = 0; i < lores1.size(); i++) {
|
||||
if (!lores1.get(i).equals(lores2.get(i)))
|
||||
return false;
|
||||
}
|
||||
return (lores2.hashCode() == lores2.hashCode());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user