9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-21 16:09:21 +00:00
This commit is contained in:
Xiao-MoMi
2022-10-20 14:46:20 +08:00
parent 8da54763ba
commit cce61c98a5
6 changed files with 77 additions and 19 deletions

View File

@@ -227,7 +227,7 @@ public class CropManager extends Function {
public void onWorldLoad(World world) {
CustomWorld cw = customWorlds.get(world);
if (cw != null) return;
if (MainConfig.getWorldsList().contains(world)) {
if (MainConfig.getWorldNameList().contains(world.getName())) {
CustomWorld customWorld = new CustomWorld(world, this);
customWorlds.put(world, customWorld);
if (MainConfig.autoGrow && MainConfig.enableCompensation) {