blob: 8bacf157d85ae042b80169316af21fee945528e6 [file] [log] [blame] [raw]
package net.glowstone.block.entity;
import net.glowstone.block.GlowBlock;
import net.glowstone.block.GlowBlockState;
import net.glowstone.block.state.GlowDispenser;
import net.glowstone.inventory.GlowInventory;
import org.bukkit.event.inventory.InventoryType;
public class TEDispenser extends TEContainer {
public TEDispenser(GlowBlock block) {
super(block, new GlowInventory(new GlowDispenser(block), InventoryType.DISPENSER));
setSaveId("Trap");
}
@Override
public GlowBlockState getState() {
return new GlowDispenser(block);
}
}