--- ../src-base/minecraft/net/minecraft/block/BlockOre.java
+++ ../src-work/minecraft/net/minecraft/block/BlockOre.java
@@ -10,6 +10,7 @@
 import net.minecraft.item.Item;
 import net.minecraft.util.BlockPos;
 import net.minecraft.util.MathHelper;
+import net.minecraft.world.IBlockAccess;
 import net.minecraft.world.World;
 
 public class BlockOre extends Block
@@ -54,34 +55,40 @@
     public void func_180653_a(World p_180653_1_, BlockPos p_180653_2_, IBlockState p_180653_3_, float p_180653_4_, int p_180653_5_)
     {
         super.func_180653_a(p_180653_1_, p_180653_2_, p_180653_3_, p_180653_4_, p_180653_5_);
-
-        if (this.func_180660_a(p_180653_3_, p_180653_1_.field_73012_v, p_180653_5_) != Item.func_150898_a(this))
+    }
+    @Override
+    public int getExpDrop(IBlockAccess world, BlockPos pos, int fortune)
+    {
+        IBlockState state = world.func_180495_p(pos);
+        Random rand = world instanceof World ? ((World)world).field_73012_v : new Random();
+        if (this.func_180660_a(state, rand, fortune) != Item.func_150898_a(this))
         {
             int j = 0;
 
             if (this == Blocks.field_150365_q)
             {
-                j = MathHelper.func_76136_a(p_180653_1_.field_73012_v, 0, 2);
+                j = MathHelper.func_76136_a(rand, 0, 2);
             }
             else if (this == Blocks.field_150482_ag)
             {
-                j = MathHelper.func_76136_a(p_180653_1_.field_73012_v, 3, 7);
+                j = MathHelper.func_76136_a(rand, 3, 7);
             }
             else if (this == Blocks.field_150412_bA)
             {
-                j = MathHelper.func_76136_a(p_180653_1_.field_73012_v, 3, 7);
+                j = MathHelper.func_76136_a(rand, 3, 7);
             }
             else if (this == Blocks.field_150369_x)
             {
-                j = MathHelper.func_76136_a(p_180653_1_.field_73012_v, 2, 5);
+                j = MathHelper.func_76136_a(rand, 2, 5);
             }
             else if (this == Blocks.field_150449_bY)
             {
-                j = MathHelper.func_76136_a(p_180653_1_.field_73012_v, 2, 5);
+                j = MathHelper.func_76136_a(rand, 2, 5);
             }
 
-            this.func_180637_b(p_180653_1_, p_180653_2_, j);
+            return j;
         }
+        return 0;
     }
 
     public int func_176222_j(World p_176222_1_, BlockPos p_176222_2_)
