mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Allow loading extensions in dev environment
This commit is contained in:
parent
766f28ec60
commit
735697b553
2 changed files with 1 additions and 6 deletions
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"));
|
||||||
|
|
Loading…
Reference in a new issue