mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-16 23:55:16 +01:00
commit
fa23802d09
@ -1391,7 +1391,8 @@ public class Quester {
|
|||||||
|
|
||||||
int amount = getQuestData(quest).itemsDelivered.get(found);
|
int amount = getQuestData(quest).itemsDelivered.get(found);
|
||||||
int req = getCurrentStage(quest).itemsToDeliver.get(getCurrentStage(quest).itemsToDeliver.indexOf(found)).getAmount();
|
int req = getCurrentStage(quest).itemsToDeliver.get(getCurrentStage(quest).itemsToDeliver.indexOf(found)).getAmount();
|
||||||
Material m = null;
|
Material m = i.getType();
|
||||||
|
|
||||||
if (amount < req) {
|
if (amount < req) {
|
||||||
|
|
||||||
if ((i.getAmount() + amount) > req) {
|
if ((i.getAmount() + amount) > req) {
|
||||||
|
Loading…
Reference in New Issue
Block a user