Rename and clean up MapleInventoryProof
This commit is contained in:
@@ -313,7 +313,7 @@ public class MapleCharacter extends AbstractMapleCharacterObject {
|
||||
}
|
||||
inventory[type.ordinal()] = new Inventory(this, type, (byte) b);
|
||||
}
|
||||
inventory[MapleInventoryType.CANHOLD.ordinal()] = new MapleInventoryProof(this);
|
||||
inventory[MapleInventoryType.CANHOLD.ordinal()] = new InventoryProof(this);
|
||||
|
||||
for (int i = 0; i < SavedLocationType.values().length; i++) {
|
||||
savedLocations[i] = null;
|
||||
|
||||
@@ -22,12 +22,11 @@ package client.inventory;
|
||||
import client.MapleCharacter;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Ronan
|
||||
*/
|
||||
public class MapleInventoryProof extends Inventory {
|
||||
public class InventoryProof extends Inventory {
|
||||
|
||||
public MapleInventoryProof(MapleCharacter mc) {
|
||||
public InventoryProof(MapleCharacter mc) {
|
||||
super(mc, MapleInventoryType.CANHOLD, (byte) 0);
|
||||
}
|
||||
|
||||
@@ -284,7 +284,7 @@ public class AbstractPlayerInteraction {
|
||||
List<List<Pair<Integer, Integer>>> toAddItemList = prepareInventoryItemList(toAddItemids, toAddQuantity);
|
||||
List<List<Pair<Integer, Integer>>> toRemoveItemList = prepareInventoryItemList(toRemoveItemids, toRemoveQuantity);
|
||||
|
||||
MapleInventoryProof prfInv = (MapleInventoryProof) this.getInventory(MapleInventoryType.CANHOLD);
|
||||
InventoryProof prfInv = (InventoryProof) this.getInventory(MapleInventoryType.CANHOLD);
|
||||
prfInv.lockInventory();
|
||||
try {
|
||||
for(int i = MapleInventoryType.EQUIP.getType(); i < MapleInventoryType.CASH.getType(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user