forgot to rebuild after last light change, another fix

This commit is contained in:
Aikar 2016-03-19 10:57:22 -04:00
parent e59f9ab2e6
commit bb82a8a401

View file

@ -107,10 +107,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
this.world.c(10);
- i = this.world.getLightLevel(blockposition);
+ passes = !world.isLightLevel(blockposition, this.random.nextInt(8)); // Paper
+ passes = !world.isLightLevel(blockposition, this.random.nextInt(9)); // Paper
this.world.c(j);
- }
+ } else { passes = !world.isLightLevel(blockposition, this.random.nextInt(8)); } // Paper
+ } else { passes = !world.isLightLevel(blockposition, this.random.nextInt(9)); } // Paper
- return i <= this.random.nextInt(8);
+ return passes; // Paper