mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-29 11:23:52 -07:00
Updated to use mc-dev rename revision 1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user