mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-22 16:39:36 +00:00
1.7-7
This commit is contained in:
@@ -66,6 +66,7 @@ public class OraxenWireCropImpl implements CropModeInterface{
|
||||
int nextStage = Integer.parseInt(cropNameList[2]) + 1;
|
||||
String temp = StringUtils.chop(blockID);
|
||||
if (customInterface.doesExist(temp + nextStage)) {
|
||||
if (MainConfig.enableCrow && cropManager.crowJudge(location)) return true;
|
||||
if (fertilizer instanceof SpeedGrow speedGrow && Math.random() < speedGrow.getChance()) {
|
||||
if (customInterface.doesExist(temp + (nextStage+1))) {
|
||||
addStage(location, temp + (nextStage+1));
|
||||
@@ -76,6 +77,7 @@ public class OraxenWireCropImpl implements CropModeInterface{
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (MainConfig.enableCrow && cropManager.crowJudge(location)) return true;
|
||||
GiganticCrop giganticCrop = crop.getGiganticCrop();
|
||||
if (giganticCrop != null) {
|
||||
double chance = giganticCrop.getChance();
|
||||
|
||||
Reference in New Issue
Block a user