Alright so heres my problem, whenever you thieve, you get the item and the coins, but if youre under the needed level, you still get the coins, can i get a little help?
Code:
case 4877: //1
int[] magicStall = {554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 9075};
if (c.getItems().freeSlots() == 0) {
c.sendMessage("Your inventory is full.");
return;
}
if (System.currentTimeMillis() - c.lastThieve < 2500) {
return;
} else {
c.getItems().addItem(995, Misc.random(4000) + 1000);
c.getThieving().stealFromStall(magicStall[Misc.random(13)], Misc.random(19) + 5, 50, 1);
}