mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-26 19:18:12 +01:00
Improve bootstrap warning
This commit is contained in:
parent
29c8f924fa
commit
fcc5bc4381
@ -479,7 +479,9 @@ public class ExtensionManager {
|
||||
private void setupCodeModifiers(@NotNull List<DiscoveredExtension> extensions) {
|
||||
final ClassLoader cl = getClass().getClassLoader();
|
||||
if (!(cl instanceof MinestomRootClassLoader)) {
|
||||
LOGGER.warn("Current class loader is not a MinestomOverwriteClassLoader, but {}. This disables code modifiers (Mixin support is therefore disabled)", cl);
|
||||
LOGGER.warn("Current class loader is not a MinestomOverwriteClassLoader, but {}. " +
|
||||
"This disables code modifiers (Mixin support is therefore disabled). " +
|
||||
"This can be fixed by starting your server using Bootstrap#bootstrap (optional).", cl);
|
||||
return;
|
||||
}
|
||||
MinestomRootClassLoader modifiableClassLoader = (MinestomRootClassLoader) cl;
|
||||
|
Loading…
Reference in New Issue
Block a user