diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-29 23:17:43 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2011-11-30 21:46:19 +0000 |
commit | 8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792 (patch) | |
tree | cc229f65097c54cfcd769f686c43efa1dacc8d2f /src/main/java/net/minecraft/server/BlockGravel.java | |
parent | 8665161eaa0160467ce33598c13f1aed4b549a4d (diff) | |
download | craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.gz craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.lz craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.tar.xz craftbukkit-8fbe78a2c3b65f4140c4d0db4bed5a9bcdaf1792.zip |
Updated to use mc-dev rename revision 1
Diffstat (limited to 'src/main/java/net/minecraft/server/BlockGravel.java')
-rw-r--r-- | src/main/java/net/minecraft/server/BlockGravel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/BlockGravel.java b/src/main/java/net/minecraft/server/BlockGravel.java index 94163bf7..7da42695 100644 --- a/src/main/java/net/minecraft/server/BlockGravel.java +++ b/src/main/java/net/minecraft/server/BlockGravel.java @@ -8,7 +8,7 @@ public class BlockGravel extends BlockSand { super(i, j); } - public int a(int i, Random random, int j) { + public int getDropType(int i, Random random, int j) { j = Math.min(j, 3); // CraftBukkit - added to fix crash when j > 3 return random.nextInt(10 - j * 3) == 0 ? Item.FLINT.id : this.id; } |