Skip to content

Commit

Permalink
Correct the item storage packet id of Jade (LeavesMC#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
KujouMolean authored Jun 3, 2024
1 parent f8b6202 commit 7dc9e87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions patches/server/0042-Jade-Protocol.patch
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ index 0000000000000000000000000000000000000000..7ddbc03b39b2a9863ed7b223e235366d
+ public static final Cache<Object, ItemCollector<?>> targetCache = CacheBuilder.newBuilder().weakKeys().expireAfterAccess(60, TimeUnit.SECONDS).build();
+ public static final Cache<Object, ItemCollector<?>> 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<ViewGroup<ItemStack>> getGroups(RequestAccessor<?> request) {
Expand Down Expand Up @@ -740,7 +740,7 @@ index 0000000000000000000000000000000000000000..400686ce911049aab224cd42d5ee018f
+public enum BlockStorageProvider implements IJadeDataProvider<BlockAccessor> {
+ 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) {
Expand Down Expand Up @@ -1316,7 +1316,7 @@ index 0000000000000000000000000000000000000000..4f2bb19247f05cfae47243cf9950c601
+public enum EntityStorageProvider implements IJadeDataProvider<EntityAccessor> {
+ 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) {
Expand Down

0 comments on commit 7dc9e87

Please sign in to comment.