We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ca923f commit c2a3c41Copy full SHA for c2a3c41
bukkit/src/main/java/io/github/rothes/protocolstringreplacer/Updater.java
@@ -58,7 +58,10 @@ public void start() {
58
Bukkit.getPluginManager().registerEvents(this, plugin);
59
PsrScheduler.runTaskTimerAsynchronously(() -> {
60
try {
61
- String json = getJson(plugin.getConfigManager().gitRawHost, 0);
+ String host = plugin.getConfigManager().gitRawHost;
62
+ if (host.isEmpty()) return;
63
+
64
+ String json = getJson(host, 0);
65
if (json == null) {
66
return;
67
}
0 commit comments