Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 08:10:11 +01:00
Allow loading extensions in dev environment
Dieser Commit ist enthalten in:
Ursprung
766f28ec60
Commit
735697b553
1
.gitignore
vendored
1
.gitignore
vendored
@ -240,6 +240,7 @@ nbdist/
|
||||
|
||||
### Geyser ###
|
||||
run/
|
||||
extensions/
|
||||
config.yml
|
||||
logs/
|
||||
key.pem
|
||||
|
@ -129,12 +129,6 @@ public class GeyserExtensionLoader extends ExtensionLoader {
|
||||
|
||||
@Override
|
||||
protected void loadAllExtensions(@NonNull ExtensionManager extensionManager) {
|
||||
// noinspection ConstantConditions
|
||||
if (GeyserImpl.VERSION.equalsIgnoreCase("dev")) {
|
||||
GeyserImpl.getInstance().getLogger().error(GeyserLocale.getLocaleStringLog("geyser.extensions.load.failed_dev_environment"));
|
||||
return;
|
||||
}
|
||||
|
||||
// noinspection ConstantConditions
|
||||
if (!GeyserImpl.VERSION.contains(".")) {
|
||||
GeyserImpl.getInstance().getLogger().error(GeyserLocale.getLocaleStringLog("geyser.extensions.load.failed_version_number"));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren