aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2022-06-04 19:14:48 +0800
committershedaniel <daniel@shedaniel.me>2022-06-04 19:14:48 +0800
commita8dd27ef4e946c879a2e3e5e163683a41896e78f (patch)
tree2aed6dff7edbc8111199ca191b0b79b60e3ed14b
parent5425a1162ada069cc8930e2219710f48049b4fd5 (diff)
downloadRoughlyEnoughItems-a8dd27ef4e946c879a2e3e5e163683a41896e78f.tar.gz
RoughlyEnoughItems-a8dd27ef4e946c879a2e3e5e163683a41896e78f.tar.bz2
RoughlyEnoughItems-a8dd27ef4e946c879a2e3e5e163683a41896e78f.zip
Change from readNbt to readAnySizeNbt
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java
index ebc3df9c0..0fef1e488 100644
--- a/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java
+++ b/runtime/src/main/java/me/shedaniel/rei/RoughlyEnoughItemsNetwork.java
@@ -105,7 +105,7 @@ public class RoughlyEnoughItemsNetwork {
try {
boolean shift = packetByteBuf.readBoolean();
try {
- InputSlotCrafter<AbstractContainerMenu, Container, Display> crafter = InputSlotCrafter.start(category, container, player, packetByteBuf.readNbt(), shift);
+ InputSlotCrafter<AbstractContainerMenu, Container, Display> crafter = InputSlotCrafter.start(category, container, player, packetByteBuf.readAnySizeNbt(), shift);
} catch (InputSlotCrafter.NotEnoughMaterialsException e) {
if (!(container instanceof RecipeBookMenu)) {
return;