mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 14:34:59 +01: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 ###
|
||||
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"));
|
||||
|
|
Loading…
Reference in a new issue