Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-09-08 22:02:50 +02:00
Ursprung
a981adf7a3
Commit
5047aaff0c
@ -65,9 +65,9 @@ public class InventoryPackets {
|
|||||||
handler(wrapper -> {
|
handler(wrapper -> {
|
||||||
int size = wrapper.passthrough(Type.VAR_INT);
|
int size = wrapper.passthrough(Type.VAR_INT);
|
||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
// First type, then id
|
// First id, then type
|
||||||
|
String id = wrapper.passthrough(Type.STRING);
|
||||||
String type = wrapper.passthrough(Type.STRING).replace("minecraft:", "");
|
String type = wrapper.passthrough(Type.STRING).replace("minecraft:", "");
|
||||||
String id = wrapper.passthrough(Type.STRING); // Recipe Identifier
|
|
||||||
recipeRewriter.handle(wrapper, type);
|
recipeRewriter.handle(wrapper, type);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren