1
Looking for a plugin
i need a plugin that allows you to mines ores and get there entities with out smelting, but work also if they have fortune
Thanks
~Lolly
Thanks
~Lolly
3
@EventHandler
public void onBrockBreak(BlockBreakEvent event){
Block b = event.getBlock();
ItemStack dia = new ItemStack(Material.DIAMOND);
Player p = event.getPlayer();
PlayerInventory pi = p.getInventory();
if(b.getType() == Material.DIAMOND_ORE){
pi.addItem(dia);
}
}
public void onBrockBreak(BlockBreakEvent event){
Block b = event.getBlock();
ItemStack dia = new ItemStack(Material.DIAMOND);
Player p = event.getPlayer();
PlayerInventory pi = p.getInventory();
if(b.getType() == Material.DIAMOND_ORE){
pi.addItem(dia);
}
}
Don't post this under server recruitment please.
need a plugin asap!!!
