From 37aa34983970e4330c12da52f05f7cacafae7872 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Fri, 20 Oct 2023 20:44:18 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fix=20the=20enabledItems?= =?UTF-8?q?=20config=20that=20allows=20disabling=20sophisticated=20items?= =?UTF-8?q?=20and=20their=20recipes=20by=20moving=20the=20config=20back=20?= =?UTF-8?q?to=20COMMON?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 4 ++-- .../sophisticatedbackpacks/backpack/BackpackItem.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index bdad2613..bbef78ba 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ org.gradle.daemon=false mod_id=sophisticatedbackpacks mod_group_id=sophisticatedbackpacks -mod_version=3.18.64 +mod_version=3.18.65 sonar_project_key=sophisticatedbackpacks:SophisticatedBackpacks github_package_url=https://maven.pkg.github.com/P3pp3rF1y/SophisticatedBackpacks @@ -22,5 +22,5 @@ botania_version=1.19.2-439-FORGE-SNAPSHOT patchouli_version=1.19.2-78-SNAPSHOT balm_cf_file_id=4597440 crafting_tweaks_cf_file_id=4596466 -sc_version=[1.20.1-0.5.96,1.21) +sc_version=[1.20.1-0.5.99,1.21) parchment_version=1.19.3-2023.03.12-1.20 \ No newline at end of file diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackItem.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackItem.java index 14776d62..c2d23370 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackItem.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/backpack/BackpackItem.java @@ -62,7 +62,6 @@ import net.p3pp3rf1y.sophisticatedcore.api.IStashStorageItem; import net.p3pp3rf1y.sophisticatedcore.api.IStorageWrapper; import net.p3pp3rf1y.sophisticatedcore.client.gui.utils.TranslationHelper; -import net.p3pp3rf1y.sophisticatedcore.inventory.ItemStackKey; import net.p3pp3rf1y.sophisticatedcore.settings.memory.MemorySettingsCategory; import net.p3pp3rf1y.sophisticatedcore.upgrades.ITickableUpgrade; import net.p3pp3rf1y.sophisticatedcore.upgrades.jukebox.ServerStorageSoundHandler; @@ -114,7 +113,7 @@ public BlockEntityWithoutLevelRenderer getCustomRenderer() { public void addCreativeTabItems(Consumer itemConsumer) { super.addCreativeTabItems(itemConsumer); - if (this != ModItems.BACKPACK.get() || !net.p3pp3rf1y.sophisticatedcore.Config.SERVER.enabledItems.isItemEnabled(this)) { + if (this != ModItems.BACKPACK.get() || !net.p3pp3rf1y.sophisticatedcore.Config.COMMON.enabledItems.isItemEnabled(this)) { return; }