Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-25 15:50:10 +01:00
Rewrite ingredient items in 1.20.5 recipe rewriter (#4285)
Dieser Commit ist enthalten in:
Ursprung
2d663db53f
Commit
40665782e7
@ -38,7 +38,7 @@ final class RecipeRewriter1_20_5 <C extends ClientboundPacketType> extends Recip
|
||||
final List<Item> newItems = new ArrayList<>(items.length);
|
||||
for (final Item item : items) {
|
||||
if (item == null || item.isEmpty()) continue;
|
||||
newItems.add(item);
|
||||
newItems.add(rewrite(wrapper.user(), item));
|
||||
}
|
||||
wrapper.write(mappedItemArrayType(), newItems.toArray(new Item[0]));
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren