mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-29 14:16:09 +01:00
Proper durability check for certain materials, fixes #557. Bump version
This commit is contained in:
parent
027d6d613b
commit
7d829f9cda
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
|
||||
<groupId>me.blackvein.quests</groupId>
|
||||
<artifactId>quests</artifactId>
|
||||
<version>3.4.8</version>
|
||||
<version>3.4.9</version>
|
||||
<name>quests</name>
|
||||
<url>https://github.com/FlyingPikachu/Quests/</url>
|
||||
<packaging>jar</packaging>
|
||||
|
@ -60,7 +60,7 @@ public class ItemUtil {
|
||||
return -1;
|
||||
} else if ((one.getAmount() != two.getAmount()) && ignoreAmount == false) {
|
||||
return -2;
|
||||
} else if (one.getData().equals(two.getData()) == false) {
|
||||
} else if (one.getDurability() != two.getDurability()) {
|
||||
return -3;
|
||||
}
|
||||
if (one.hasItemMeta() || two.hasItemMeta()) {
|
||||
|
Loading…
Reference in New Issue
Block a user