重大错误 配置文件不生效 #1

Closed
opened 2025-07-15 16:47:50 +08:00 by minglipro · 2 comments
Owner
No description provided.
minglipro added reference 1.21 2025-07-15 16:48:04 +08:00
Author
Owner

修复 com.mingliqiye.minecraft.enchantment.conflict.enchantment::canBeCombined line 64

if (groupsA.isEmpty() && groupsB.isEmpty()) {
        return true;
    }

修改为

if (groupsA.isEmpty() && groupsB.isEmpty()) {
        return null;
    }
修复 [com.mingliqiye.minecraft.enchantment.conflict.enchantment::canBeCombined](https://git.mingliqiye.com/MinecraftMod/EnchantmentDoNotConflict/src/branch/1.21/src/main/java/com/mingliqiye/minecraft/enchantment/conflict/enchantment/Enchantment.java#L64) line 64 ```java if (groupsA.isEmpty() && groupsB.isEmpty()) { return true; } ``` 修改为 ```java if (groupsA.isEmpty() && groupsB.isEmpty()) { return null; } ```
minglipro self-assigned this 2025-07-15 16:52:53 +08:00
Author
Owner

已修复 fb4b8757d6

已修复 [fb4b8757d6](https://git.mingliqiye.com/MinecraftMod/EnchantmentDoNotConflict/commit/fb4b8757d6604ed46f477bfbe8295080d1a24c76)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MinecraftMod/EnchantmentDoNotConflict#1
No description provided.