From e11feec55f4ef0eee581c28054f8457c3074f47b Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 15 Feb 2013 04:49:33 -0800 Subject: [PATCH] Fix fortune modifier always passed as 0 to idDropped closes #412 --- patches/minecraft/net/minecraft/block/Block.java.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/minecraft/net/minecraft/block/Block.java.patch b/patches/minecraft/net/minecraft/block/Block.java.patch index 01dbf229f..63bc8b033 100644 --- a/patches/minecraft/net/minecraft/block/Block.java.patch +++ b/patches/minecraft/net/minecraft/block/Block.java.patch @@ -401,11 +401,11 @@ + { + if (blockID == Block.netherrack.blockID && side == UP) + { -+ return true; ++ return true; + } + if ((world.provider instanceof WorldProviderEnd) && blockID == Block.bedrock.blockID && side == UP) + { -+ return true; ++ return true; + } + return false; + } @@ -486,7 +486,7 @@ + int count = quantityDropped(metadata, fortune, world.rand); + for(int i = 0; i < count; i++) + { -+ int id = idDropped(metadata, world.rand, 0); ++ int id = idDropped(metadata, world.rand, fortune); + if (id > 0) + { + ret.add(new ItemStack(id, 1, damageDropped(metadata)));