Skip to content

Commit

Permalink
Remove unused config value
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmq committed Jan 21, 2025
1 parent b6256c2 commit a827a5f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,4 @@ public boolean shouldPrintStackTraces() {
public boolean shouldShowUpdateMessages() {
return config.getBoolean("debug-options.show-update-messages");
}

public boolean shouldUpdatePySpigotLib() {
return config.getBoolean("debug-options.auto-pyspigot-lib-update-enabled");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,4 @@ public boolean shouldPrintStackTraces() {
public boolean shouldShowUpdateMessages() {
return config.getBoolean("debug-options.show-update-messages");
}

public boolean shouldUpdatePySpigotLib() {
return config.getBoolean("debug-options.auto-pyspigot-lib-update-enabled");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,4 @@ public interface PluginConfig {
boolean shouldPrintStackTraces();

boolean shouldShowUpdateMessages();

boolean shouldUpdatePySpigotLib();
}
4 changes: 1 addition & 3 deletions core/src/main/resources/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,4 @@ debug-options:
# If true, will print stack traces for all script-related exceptions to the server console
print-stack-traces: false
# If true, the plugin will show messages in console and on join (to players with the permission pyspigot.admin) when a newer version of PySpigot is available to download on spigotmc.org.
show-update-messages: true
# If false, the pyspigot.py file will *not* be automatically replaced with the most recent version (from the pyspigot JAR) on server start if a change is detected. It is recommended to keep this enabled in the event a plugin update comes with an updated pyspigot.py file.
auto-pyspigot-lib-update-enabled: true
show-update-messages: true

0 comments on commit a827a5f

Please sign in to comment.