This commit is contained in:
Vincent Lee committed 2016-05-26 23:08:53 -05:00
1 parent 7f759c1b88
commit e3e6f8996f
158 files changed
+393 -477

No files matched your search

@@ -145,7 +145,7 @@ public final class ManaItemHandler {
if(stack.getItem() instanceof IManaItem && !((IManaItem) stack.getItem()).canExportManaToItem(stack, stackInSlot))
continue;
int received = 0;
int received;
if(manaItemSlot.getMana(stackInSlot) + manaToSend <= manaItemSlot.getMaxMana(stackInSlot))
received = manaToSend;
else received = manaToSend - (manaItemSlot.getMana(stackInSlot) + manaToSend - manaItemSlot.getMaxMana(stackInSlot));