Fixed crash on servers when starting with latest Forge. Fixes #3223

This commit is contained in:
raoulvdberge
2022-01-25 18:19:54 +01:00
parent bfea6ee9d3
commit ed8a8d33a6
3 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
- Fixed autocrafting task getting stuck if two tasks fulfilled each others requirements. - Fixed autocrafting task getting stuck if two tasks fulfilled each others requirements.
- Fixed fluid autocrafting breaking when using 2 stacks of the same fluid in a pattern. - Fixed fluid autocrafting breaking when using 2 stacks of the same fluid in a pattern.
- Amount specifying screen is now limited to valid values. - Amount specifying screen is now limited to valid values.
- Fixed crash on servers when starting with latest Forge.
## [v1.10.0-beta.4] - 2021-12-28 ## [v1.10.0-beta.4] - 2021-12-28

View File

@@ -102,7 +102,7 @@ processResources {
} }
dependencies { dependencies {
minecraft 'net.minecraftforge:forge:1.18.1-39.0.0' minecraft 'net.minecraftforge:forge:1.18.1-39.0.59'
compileOnly fg.deobf("mezz.jei:jei-1.18.1:9.1.0.41:api") compileOnly fg.deobf("mezz.jei:jei-1.18.1:9.1.0.41:api")
runtimeOnly fg.deobf("mezz.jei:jei-1.18.1:9.1.0.41") runtimeOnly fg.deobf("mezz.jei:jei-1.18.1:9.1.0.41")

View File

@@ -39,7 +39,7 @@ import java.util.Set;
import java.util.function.Consumer; import java.util.function.Consumer;
import java.util.stream.Collectors; import java.util.stream.Collectors;
public class PatternItem extends Item implements ICraftingPatternProvider, IItemRenderProperties { public class PatternItem extends Item implements ICraftingPatternProvider {
private static final Map<ItemStackKey, ICraftingPattern> CACHE = new HashMap<>(); private static final Map<ItemStackKey, ICraftingPattern> CACHE = new HashMap<>();
private static final String NBT_VERSION = "Version"; private static final String NBT_VERSION = "Version";