This commit is contained in:
Guy Aglionby 2016-09-03 00:16:57 +01:00
parent fb6f743999
commit ade16b3d98

View File

@ -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) {