Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 16:12:46 +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 ###
|
### Geyser ###
|
||||||
run/
|
run/
|
||||||
|
extensions/
|
||||||
config.yml
|
config.yml
|
||||||
logs/
|
logs/
|
||||||
key.pem
|
key.pem
|
||||||
|
@ -129,12 +129,6 @@ public class GeyserExtensionLoader extends ExtensionLoader {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void loadAllExtensions(@NonNull ExtensionManager extensionManager) {
|
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
|
// noinspection ConstantConditions
|
||||||
if (!GeyserImpl.VERSION.contains(".")) {
|
if (!GeyserImpl.VERSION.contains(".")) {
|
||||||
GeyserImpl.getInstance().getLogger().error(GeyserLocale.getLocaleStringLog("geyser.extensions.load.failed_version_number"));
|
GeyserImpl.getInstance().getLogger().error(GeyserLocale.getLocaleStringLog("geyser.extensions.load.failed_version_number"));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren