Fixed a minor crop fortune bug.
This commit is contained in:
parent
c2f165f211
commit
52de732b8e
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
- int j1 = 3 + i1;
|
||||
- for(int k1 = 0; k1 < j1; k1++)
|
||||
+
|
||||
+ for(int n = 0; n < 3; n++)
|
||||
+ for(int n = 0; n < 3+fortune; n++)
|
||||
{
|
||||
- if(world.rand.nextInt(15) <= l)
|
||||
+ if (world.rand.nextInt(15) <= md)
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
+ tr.add(new ItemStack(Item.wheat));
|
||||
+ }
|
||||
+
|
||||
+ for(int n = 0; n < 3; n++)
|
||||
+ for(int n = 0; n < 3+fortune; n++)
|
||||
{
|
||||
- return;
|
||||
- }
|
||||
|
|
Loading…
Reference in a new issue