From e26f482cf9faefee9409633af6de288238c71793 Mon Sep 17 00:00:00 2001 From: P3pp3rF1y Date: Sun, 17 Nov 2024 01:59:37 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20Fixed=20jukebox=20in=20a?= =?UTF-8?q?=20backpack=20worn=20by=20a=20mob=20to=20start=20playing=20afte?= =?UTF-8?q?r=20the=20game=20has=20been=20saved=20and=20then=20loaded=20aga?= =?UTF-8?q?in?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- .../sophisticatedbackpacks/common/CommonEventHandler.java | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index d71221ed..e38afc9e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,7 +13,7 @@ loader_version_range=[4,) mod_id=sophisticatedbackpacks mod_name=Sophisticated Backpacks mod_license=GNU General Public License v3.0 -mod_version=3.20.21 +mod_version=3.20.22 mod_group_id=sophisticatedbackpacks mod_authors=P3pp3rF1y, Ridanisaurus mod_description=Fancy and functional backpacks. diff --git a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/common/CommonEventHandler.java b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/common/CommonEventHandler.java index f6faeb32..39ffff0b 100644 --- a/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/common/CommonEventHandler.java +++ b/src/main/java/net/p3pp3rf1y/sophisticatedbackpacks/common/CommonEventHandler.java @@ -42,7 +42,6 @@ import net.p3pp3rf1y.sophisticatedbackpacks.util.PlayerInventoryProvider; import net.p3pp3rf1y.sophisticatedcore.network.SyncPlayerSettingsPayload; import net.p3pp3rf1y.sophisticatedcore.settings.SettingsManager; -import net.p3pp3rf1y.sophisticatedcore.upgrades.jukebox.ServerStorageSoundHandler; import net.p3pp3rf1y.sophisticatedcore.util.InventoryHelper; import java.util.*; @@ -60,7 +59,6 @@ public void registerHandlers(IEventBus modBus) { eventBus.addListener(this::onLivingDrops); eventBus.addListener(this::onEntityMobGriefing); eventBus.addListener(this::onEntityLeaveWorld); - eventBus.addListener(ServerStorageSoundHandler::tick); eventBus.addListener(this::onBlockClick); eventBus.addListener(this::onAttackEntity); eventBus.addListener(EntityBackpackAdditionHandler::onLivingUpdate);