mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-12 18:41:22 +01:00
Potion delivery must have same duration and tier post-1.9, fixes #1316
This commit is contained in:
parent
88ccd1bd12
commit
0bb11d38be
@ -125,6 +125,12 @@ public class ItemUtil {
|
||||
.equals(pmeta2.getBasePotionData().getType()) == false) {
|
||||
return -9;
|
||||
}
|
||||
if (pmeta1.getBasePotionData().isExtended() != pmeta2.getBasePotionData().isExtended()) {
|
||||
return -9;
|
||||
}
|
||||
if (pmeta1.getBasePotionData().isUpgraded() != pmeta2.getBasePotionData().isUpgraded()) {
|
||||
return -9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user