Skip to content

Commit

Permalink
update to 1.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UpcraftLP committed Apr 28, 2022
1 parent 47bfa1c commit 98ca1f0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
org.gradle.jvmargs=-Xmx3G
#General
#See https://fabricmc.net/develop
minecraft_version=1.18.1
yarn_mappings=1.18.1+build.22
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.13.3
#Fabric API
fabric_version=0.46.6+1.18
fabric_version=0.51.1+1.18.2

trinkets_version=3.2.0
trinkets_version=3.3.0
cloth_version=6.2.57
modmenu_version=3.0.1
modmenu_version=3.2.1

# publishing
modrinth_id=9QyjzbTh
modrinth_game_versions=1.18,1.18.1
modrinth_game_versions=1.18.2
api_package=dev.upcraft.soulbound.api
2 changes: 1 addition & 1 deletion src/main/java/dev/upcraft/soulbound/Soulbound.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Soulbound implements ModInitializer {
return AutoConfig.getConfigHolder(SoulboundConfig.class);
});
public static final RegistryKey<? extends Registry<SoulboundContainerProvider<?>>> CONTAINERS_KEY = RegistryKey.ofRegistry(new Identifier(MODID, "containers"));
public static final MutableRegistry<SoulboundContainerProvider<?>> CONTAINERS = Util.make(new SimpleRegistry<>(CONTAINERS_KEY, Lifecycle.stable()), it -> ((FabricRegistry) it).build(ImmutableSet.of(RegistryAttribute.PERSISTED)));
public static final MutableRegistry<SoulboundContainerProvider<?>> CONTAINERS = Util.make(new SimpleRegistry<>(CONTAINERS_KEY, Lifecycle.stable(), null), it -> ((FabricRegistry) it).build(ImmutableSet.of(RegistryAttribute.PERSISTED)));
public static final SoulboundEnchantment ENCHANT_SOULBOUND = new SoulboundEnchantment();
public static final SoulboundContainerProvider<PlayerInventoryContainer> PLAYER_CONTAINER_PROVIDER = new PlayerInventoryContainerProvider();

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"requires": {
"fabric": "*",
"cloth-config2": "^6.0.0-0",
"minecraft": ">=1.18.0-0 <=1.18.1",
"minecraft": "~1.18.2-0",
"fabricloader": ">=0.13.0-0",
"java": ">=17"
}
Expand Down

0 comments on commit 98ca1f0

Please sign in to comment.