Fixed a minor crop fortune bug.

This commit is contained in:
Eloraam 2011-12-20 21:39:53 +00:00
parent c2f165f211
commit 52de732b8e
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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;
- }