Merge pull request #413 from GuyAglionby/master

Fix #410
This commit is contained in:
FlyingPikachu 2016-09-19 21:10:45 -04:00 committed by GitHub
commit fa23802d09

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