Refactoring of ModUtil
members
This commit is contained in:
parent
71ad055ea5
commit
3bb8fec4b2
11 changed files with 221 additions and 193 deletions
|
@ -2,6 +2,7 @@ package ru.bclib.api.datafixer;
|
|||
|
||||
import net.minecraft.nbt.CompoundTag;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import ru.bclib.util.ModUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
@ -90,7 +91,7 @@ public abstract class Patch {
|
|||
}
|
||||
|
||||
this.version = version;
|
||||
this.level = DataFixerAPI.getModVersion(version);
|
||||
this.level = ModUtil.convertModVersion(version);
|
||||
if (!ALL.stream()
|
||||
.filter(p -> p.modID
|
||||
.equals(modID))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue