mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-06 15:52:03 +00:00
Improve recipes
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
package net.momirealms.craftengine.core.item.modifier;
|
||||
|
||||
import dev.dejvokep.boostedyaml.block.implementation.Section;
|
||||
import net.momirealms.craftengine.core.entity.player.Player;
|
||||
import net.momirealms.craftengine.core.item.Item;
|
||||
import net.momirealms.craftengine.core.util.YamlUtils;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
@@ -14,10 +12,6 @@ public class ComponentModifier<I> implements ItemModifier<I> {
|
||||
this.arguments = arguments;
|
||||
}
|
||||
|
||||
public ComponentModifier(Section section) {
|
||||
this.arguments = YamlUtils.sectionToMap(section);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String name() {
|
||||
return "components";
|
||||
|
||||
Reference in New Issue
Block a user