This commit is contained in:
zimzaza4
2025-10-15 11:55:23 +08:00
parent ff0f982953
commit 51c5998f80

View File

@@ -144,8 +144,9 @@ public class GeyserUtils implements Extension {
public static void registerPropertiesForGeyser(String entityId) {
GeyserEntityProperties entityProperties = getProperties(entityId).build();
if (entityProperties == null) return;
GeyserEntityProperties.Builder builder = getProperties(entityId);
if (builder == null) return;
GeyserEntityProperties entityProperties = builder.build();
properties.values().stream()
.flatMap(List::stream)
.map(Map.Entry::getKey)