I had a friend help me with coding a working ring of wealth.
i thought it worked, but i just realized that monsters never drop items anymore. only bones.
usually they would drop a random item ( ex. rune sq shield, or 151 gp.) and then some bones. now it only drops bones.
ill post my dropItems int , and please tell me how i could fix this problem. thanks!


dropItems int
___________
[SPOIL]public void dropItems(int i) {

// long start = System.currentTimeMillis();
Client c = (Client) PlayerHandler.players[npcs[i].killedBy];
if (c != null) {
Server.itemHandler.createGroundItem(c, bonesnashesDrop(npcs[i].npcType), npcs[i].absX, npcs[i].absY, 1, c.playerId);
if (npcs[i].npcType == 912 || npcs[i].npcType == 913
|| npcs[i].npcType == 914)
c.magePoints += 1;
if (NPCDrops.constantDrops.get(npcs[i].npcType) != null) {
for (int item : NPCDrops.constantDrops.get(npcs[i].npcType)) {
Server.itemHandler.createGroundItem(c, item, npcs[i].absX,
npcs[i].absY, 1, c.playerId);
// if (c.clanId >= 0)
// Server.clanChat.handleLootShare(c, item, 1);
}
}

if (NPCDrops.dropRarity.get(npcs[i].npcType) != null) {
if(this.rareDrops(c,i)) {
int random;
random = Misc.random(((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType))).length - 1);
Server.itemHandler.createGroundItem(c, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][0], npcs[i].absX, npcs[i].absY, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][1], c.playerId);
if(c.playerEquipment[c.playerRing] == 2752) {
c.sendMessage("@whi@Your ring of wealth glows brightly");
}
if(c.clanId >= 0) {
Server.clanChat.handleLootShare(c, ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][0], ((int[][])NPCDrops.rareDrops.get(Integer.valueOf(npcs[i].npcType)))[random][1]);
}
}
}
}
}
[/SPOIL]