package me.vudu.Conflict.Blocks;
import me.vudu.Conflict.ConflictPlugin;
//import org.getspout.spoutapi.block.design.Texture;
import org.bukkit.World;
import org.getspout.spoutapi.block.design.Texture;
import org.getspout.spoutapi.material.block.GenericCubeCustomBlock;
public class VirusBlock extends GenericCubeCustomBlock{
public VirusBlock(ConflictPlugin plugin) {
super(plugin, "VirusBlock", ConflictPlugin.VIRUSBLOCKID, "", 16);
this.getBlockDesign().setTexture(plugin, new Texture(plugin, "http://tossat.de/~mcbukkit/images/stonebrick.png", 16, 16, 16));
}
// alle darunter auch �ndern
public void onBlockPlace(World world, int x, int y, int z) {
if(y>1){
// SpoutManager.getMaterialManager().overrideBlock(world.getBlockAt(x, y-1, z), this);
}
//falls oberster Block = dar�ber ist Luft
}
}