Fix detecting floodgate on plugin name

Floodgate's name is lowercase
Related #630
This commit is contained in:
games647 committed 2021-10-11 16:09:24 +02:00
1 parent 1f83a656cc
commit ef6f0fc436
3 files changed
+4 -4

No files matched your search

@@ -146,7 +146,7 @@ public class FastLoginBukkit extends JavaPlugin implements PlatformPlugin<Comman
}
private boolean initializeFloodgate() {
if (getServer().getPluginManager().getPlugin("Floodgate") != null) {
if (getServer().getPluginManager().getPlugin("floodgate") != null) {
floodgateService = new FloodgateService(FloodgateApi.getInstance(), core);
// Check Floodgate config values and return