Rename and clean up MapleInventoryManipulator
This commit is contained in:
@@ -28,7 +28,7 @@ import client.inventory.Inventory;
|
||||
import client.inventory.InventoryType;
|
||||
import client.inventory.Item;
|
||||
import client.inventory.Pet;
|
||||
import client.inventory.manipulator.MapleInventoryManipulator;
|
||||
import client.inventory.manipulator.InventoryManipulator;
|
||||
import net.AbstractPacketHandler;
|
||||
import net.packet.InPacket;
|
||||
import net.server.Server;
|
||||
@@ -80,7 +80,7 @@ public final class PetFoodHandler extends AbstractPacketHandler {
|
||||
}
|
||||
|
||||
pet.gainClosenessFullness(chr, (pet.getFullness() <= 75) ? 1 : 0, 30, 1); // 25+ "emptyness" to get +1 closeness
|
||||
MapleInventoryManipulator.removeFromSlot(c, InventoryType.USE, pos, (short) 1, false);
|
||||
InventoryManipulator.removeFromSlot(c, InventoryType.USE, pos, (short) 1, false);
|
||||
} finally {
|
||||
useInv.unlockInventory();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user