mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-25 01:49:30 +00:00
refactor(core): 优化物品隐藏属性功能
This commit is contained in:
@@ -77,7 +77,7 @@ public class HideTooltipModifier<I> implements ItemDataModifier<I> {
|
||||
if (appliers.isEmpty()) {
|
||||
this.applier = new DummyApplier<>();
|
||||
} else if (appliers.size() == 1) {
|
||||
this.applier = new SemiModernApplier<>(components.getFirst());
|
||||
this.applier = appliers.getFirst();
|
||||
} else {
|
||||
this.applier = new CompoundApplier<>(appliers);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user