mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-02-23 15:49:19 +08:00
Fallback to plugin ID.
This commit is contained in:
parent
65ca41cdb5
commit
5b9a8f160b
@ -233,7 +233,7 @@ public class VelocityServer implements ProxyServer {
|
||||
eventManager.register(instance.get(), instance.get());
|
||||
} catch (Exception e) {
|
||||
logger.error("Unable to register plugin listener for {}",
|
||||
plugin.getDescription().getName(), e);
|
||||
plugin.getDescription().getName().orElse(plugin.getDescription().getId()), e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user