mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-11 01:41:47 +01:00
chore: rebase updates
This commit is contained in:
parent
ce3372523e
commit
b7c38fd36b
@ -112,7 +112,10 @@ public final class Tag implements ProtocolObject, Keyed {
|
||||
.map(DynamicRegistry.Key::namespace)
|
||||
.map(registries.biome()::getId)),
|
||||
INSTRUMENTS("minecraft:instrument", Registry.Resource.INSTRUMENT_TAGS,
|
||||
(name, registries) -> registries.instrument().getId(DynamicRegistry.Key.of(name)));
|
||||
(name, registries) -> Optional.of(DynamicRegistry.Key.of(name))
|
||||
.map(DynamicRegistry.Key::namespace)
|
||||
.map(registries.instrument()::getId)),
|
||||
;
|
||||
|
||||
private static final BasicType[] VALUES = values();
|
||||
private final String identifier;
|
||||
|
@ -150,7 +150,7 @@ record ComponentNetworkBufferTypeImpl() implements NetworkBufferTypeImpl<Compone
|
||||
final ShadowColor shadowColor = style.shadowColor();
|
||||
if (shadowColor != null) {
|
||||
buffer.write(BYTE, TAG_INT);
|
||||
writeUtf(buffer, "shadow_color");
|
||||
buffer.write(STRING_IO_UTF8, "shadow_color");
|
||||
buffer.write(INT, shadowColor.value());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user