Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c681f0bd82 | ||
|
|
cbc0b2707e |
@@ -69,7 +69,7 @@ public final class WeddingHandler extends AbstractPacketHandler {
|
|||||||
if (!item.isUntradeable()) {
|
if (!item.isUntradeable()) {
|
||||||
if (itemid == item.getItemId() && quantity <= item.getQuantity()) {
|
if (itemid == item.getItemId() && quantity <= item.getQuantity()) {
|
||||||
newItem = item.copy();
|
newItem = item.copy();
|
||||||
|
newItem.setQuantity(quantity);
|
||||||
marriage.addGiftItem(groomWishlist, newItem);
|
marriage.addGiftItem(groomWishlist, newItem);
|
||||||
InventoryManipulator.removeFromSlot(c, type, slot, quantity, false, false);
|
InventoryManipulator.removeFromSlot(c, type, slot, quantity, false, false);
|
||||||
|
|
||||||
@@ -161,4 +161,4 @@ public final class WeddingHandler extends AbstractPacketHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user