
Originally Posted by
lolwutwat
Not even hard to do lol..
If someone wants I can make that & rlz
Posted via Mobile Device
No one said it was hard to do, so don't imply that I thought it was difficult in any respect. I was merely appending another idea towards this "system".
Wrote this in about a minute without an IDE (not sure if it works as intended, but just a rough idea):
Code:
private void playerDead() {
MapleInventory eqp = getInventory(MapleInventoryType.EQUIPPED);
for (IItem i : eqp) {
MapleInventoryManipulator.drop(client, MapleInventoryType.EQUIPPED, getPosition(), 1);
}
// whatever other things need to be done
}