mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-27 19:09:09 +00:00
Fix limitation
This commit is contained in:
@@ -86,14 +86,14 @@ public class CustomCropsWorldImpl<W> implements CustomCropsWorld<W> {
|
||||
if (clazz.isAssignableFrom(state.type().getClass())) {
|
||||
i++;
|
||||
if (i >= amount) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user