Rename and clean up MapleInventoryManipulator
This commit is contained in:
@@ -101,9 +101,9 @@ function action(mode, type, selection) {
|
||||
}
|
||||
} else if (status == 2) {
|
||||
if (selection == 0) {
|
||||
const MapleInventoryManipulator = Java.type('client.inventory.manipulator.MapleInventoryManipulator');
|
||||
const InventoryManipulator = Java.type('client.inventory.manipulator.InventoryManipulator');
|
||||
const InventoryType = Java.type('client.inventory.InventoryType');
|
||||
MapleInventoryManipulator.removeFromSlot(cm.getClient(), InventoryType.CASH, 1, 1, true);
|
||||
InventoryManipulator.removeFromSlot(cm.getClient(), InventoryType.CASH, 1, 1, true);
|
||||
cm.sendOk("Your cash first slot is removed.");
|
||||
} else if (selection == 1) {
|
||||
if (cm.haveItem(5000029, 2)) {
|
||||
|
||||
Reference in New Issue
Block a user