25 lines
643 B
Java
25 lines
643 B
Java
package com.earth2me.essentials.craftbukkit;
|
|
|
|
import org.bukkit.inventory.ItemStack;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.List;
|
|
|
|
public class InventoryData {
|
|
private final List<Integer> emptySlots;
|
|
private final HashMap<ItemStack, List<Integer>> partialSlots;
|
|
|
|
public InventoryData(List<Integer> emptySlots, HashMap<ItemStack, List<Integer>> partialSlots) {
|
|
this.emptySlots = emptySlots;
|
|
this.partialSlots = partialSlots;
|
|
}
|
|
|
|
public List<Integer> getEmptySlots() {
|
|
return emptySlots;
|
|
}
|
|
|
|
public HashMap<ItemStack, List<Integer>> getPartialSlots() {
|
|
return partialSlots;
|
|
}
|
|
}
|