Improved item & drop-point checking + Dojo fixes + Duey revamp
Fixed some issues with items being dropped sometimes out-of-reach and in a weird way. Improved item checking function, now looking up one-of-a-kind items properly. Fixed some issues with dojo skills and possible exploits in dojo progression. Improved Duey, now displaying better info to players.
This commit is contained in:
@@ -55,6 +55,7 @@ import client.SkillFactory;
|
||||
import client.inventory.Item;
|
||||
import client.inventory.ItemFactory;
|
||||
import client.inventory.MaplePet;
|
||||
import constants.ItemConstants;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -301,7 +302,7 @@ public class NPCConversationManager extends AbstractPlayerInteraction {
|
||||
}
|
||||
|
||||
public int itemQuantity(int itemid) {
|
||||
return getPlayer().getInventory(MapleItemInformationProvider.getInstance().getInventoryType(itemid)).countById(itemid);
|
||||
return getPlayer().getInventory(ItemConstants.getInventoryType(itemid)).countById(itemid);
|
||||
}
|
||||
|
||||
public void displayGuildRanks() {
|
||||
|
||||
Reference in New Issue
Block a user