From 7dc9e87c6bdb4a45a415d60bb8f2817c7c885108 Mon Sep 17 00:00:00 2001 From: Molean Date: Mon, 3 Jun 2024 20:44:54 +0800 Subject: [PATCH] Correct the item storage packet id of Jade (#223) --- patches/server/0042-Jade-Protocol.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/server/0042-Jade-Protocol.patch b/patches/server/0042-Jade-Protocol.patch index dc1ff94f..49113e62 100644 --- a/patches/server/0042-Jade-Protocol.patch +++ b/patches/server/0042-Jade-Protocol.patch @@ -577,7 +577,7 @@ index 0000000000000000000000000000000000000000..7ddbc03b39b2a9863ed7b223e235366d + public static final Cache> targetCache = CacheBuilder.newBuilder().weakKeys().expireAfterAccess(60, TimeUnit.SECONDS).build(); + public static final Cache> containerCache = CacheBuilder.newBuilder().weakKeys().expireAfterAccess(120, TimeUnit.SECONDS).build(); + -+ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage"); ++ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage.default"); + + @Override + public List> getGroups(RequestAccessor request) { @@ -740,7 +740,7 @@ index 0000000000000000000000000000000000000000..400686ce911049aab224cd42d5ee018f +public enum BlockStorageProvider implements IJadeDataProvider { + INSTANCE; + -+ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage"); ++ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage.default"); + + @Override + public void saveData(DataAccessor data, BlockAccessor request) { @@ -1316,7 +1316,7 @@ index 0000000000000000000000000000000000000000..4f2bb19247f05cfae47243cf9950c601 +public enum EntityStorageProvider implements IJadeDataProvider { + INSTANCE; + -+ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage"); ++ private static final ResourceLocation UNIVERSAL_ITEM_STORAGE = JadeProtocol.mc_id("item_storage.default"); + + @Override + public void saveData(DataAccessor data, EntityAccessor request) {