mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-05 08:39:04 +00:00
Redemption Prayer/Fixes/Clues/Tidying up/Rares (#207)
- closes #205 - closes #197 - closes #145 Does the followiwng - Adds functional redemption prayer - Fixes max stack deletion when trading - Adds toggle for clue scrolls, currently set on disabled until someone gets the time to finish clue scrolls - Cleans up a few minor things - Removes a few bits of dead code - Re enables rare detection
This commit is contained in:
committed by
Daniel Ginovker
parent
4b3bb7ade7
commit
34f2665858
@@ -257,7 +257,7 @@ public class Trading {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (amount >= 1000000000) {
|
||||
if (amount >= Integer.MAX_VALUE) {
|
||||
player.getActionSender().sendMessage("You can't possibly have that much of that item!");
|
||||
player.getItemAssistant().deleteItem(itemID, fromSlot, amount);
|
||||
return false;
|
||||
@@ -270,14 +270,6 @@ public class Trading {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!RareProtection.doOtherDupe(player, itemID)) {
|
||||
return false;
|
||||
}
|
||||
// /if (!((c.playerItems[fromSlot] == itemID + 1) &&
|
||||
// (c.playerItemsN[fromSlot] >= amount))) {
|
||||
// c.getPacketDispatcher().sendMessage("You don't have that amount!");
|
||||
// return false;
|
||||
// }
|
||||
player.tradeConfirmed = false;
|
||||
o.tradeConfirmed = false;
|
||||
if (!Item.itemStackable[itemID] && !Item.itemIsNote[itemID]) {
|
||||
|
||||
Reference in New Issue
Block a user