Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 24 lines 574 B view raw
1package net.minecraft.server; 2 3import java.util.Random; 4 5import uk.betacraft.uberbukkit.UberbukkitConfig; 6 7public class BlockLightStone extends Block { 8 9 public BlockLightStone(int i, int j, Material material) { 10 super(i, j, material); 11 } 12 13 public int a(Random random) { 14 // uberbukkit 15 if (!UberbukkitConfig.getInstance().getBoolean("mechanics.glowstone_pre1_6_6", false)) 16 return 2 + random.nextInt(3); 17 18 return super.a(random); 19 } 20 21 public int a(int i, Random random) { 22 return Item.GLOWSTONE_DUST.id; 23 } 24}