mirror of
https://github.com/songoda/EpicFarming.git
synced 2024-11-15 07:05:17 +01:00
Updates SongodaCore to v2.6.11
This commit is contained in:
parent
6b42f6b0c4
commit
4c36955769
3
pom.xml
3
pom.xml
@ -124,7 +124,7 @@
|
||||
<dependency>
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>SongodaCore</artifactId>
|
||||
<version>2.6.9</version>
|
||||
<version>2.6.11</version>
|
||||
<scope>compile</scope>
|
||||
</dependency>
|
||||
|
||||
@ -132,6 +132,7 @@
|
||||
<groupId>com.songoda</groupId>
|
||||
<artifactId>skyblock</artifactId>
|
||||
<version>2.3.30</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
||||
|
@ -40,6 +40,7 @@ public class GrowthTask extends BukkitRunnable {
|
||||
}
|
||||
|
||||
// TODO: This should be in config.
|
||||
// TODO: What does cap stand for? What needs to be in the config? (asked by Sprax)
|
||||
int cap = (int) Math.ceil(60 / crop.getFarm().getLevel().getSpeedMultiplier()) - crop.getTicksLived();
|
||||
if (cap > 2) {
|
||||
int rand = random.nextInt(cap) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user