Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Move "unknown entity definition" spam to debug level (#4270)
Dieser Commit ist enthalten in:
Ursprung
ec526a798d
Commit
a559cde654
@ -49,7 +49,7 @@ public class JavaAddEntityTranslator extends PacketTranslator<ClientboundAddEnti
|
|||||||
public void translate(GeyserSession session, ClientboundAddEntityPacket packet) {
|
public void translate(GeyserSession session, ClientboundAddEntityPacket packet) {
|
||||||
EntityDefinition<?> definition = Registries.ENTITY_DEFINITIONS.get(packet.getType());
|
EntityDefinition<?> definition = Registries.ENTITY_DEFINITIONS.get(packet.getType());
|
||||||
if (definition == null) {
|
if (definition == null) {
|
||||||
session.getGeyser().getLogger().warning("Could not find an entity definition with type " + packet.getType());
|
session.getGeyser().getLogger().debug("Could not find an entity definition with type " + packet.getType());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren