ChestShop-3/com/Acrobot/ChestShop/Containers/AdminChest.java
Acrobot 5908eb67fa - Added API (let's start with simple things first)
- Copied utilities from ChestShop-4
- Made code really, really nicer to read
- Made every external plugin's wrapper a listener, so it listens to events instead of being hard-coded.
2012-06-08 15:28:36 +02:00

31 lines
545 B
Java

package com.Acrobot.ChestShop.Containers;
import org.bukkit.inventory.ItemStack;
/**
* @author Acrobot
*/
public class AdminChest implements Container {
public boolean isEmpty() {
return false;
}
public void addItem(ItemStack item) {
}
public void removeItem(ItemStack item) {
}
public int amount(ItemStack item) {
return Integer.MAX_VALUE;
}
public boolean hasEnough(ItemStack item) {
return true;
}
public boolean fits(ItemStack item) {
return true;
}
}