9
0
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:
XiaoMoMi
2024-09-06 03:18:13 +08:00
parent ab8a773867
commit 87129f61f8
3 changed files with 5 additions and 4 deletions

View File

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