Skip to content

Commit 758ccb9

Browse files
author
games647
committed
Clean up
1 parent 0515ac1 commit 758ccb9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

bukkit/src/main/java/com/github/games647/fastlogin/bukkit/FastLoginBukkit.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ private boolean isValidFloodgateConfigString(String key) {
280280
* @param name the name of the plugin
281281
* @return true if the plugin is installed
282282
*/
283+
@Override
283284
public boolean isPluginInstalled(String name) {
284-
//the plugin may be enabled after FastLogin, so isPluginEnabled()
285-
//won't work here
285+
// the plugin may be enabled after FastLogin, so isPluginEnabled() won't work here
286286
return Bukkit.getServer().getPluginManager().getPlugin(name) != null;
287287
}
288288

@@ -291,18 +291,18 @@ public boolean isPluginInstalled(String name) {
291291
*/
292292
private void dependencyWarnings() {
293293
if (isPluginInstalled("floodgate-bukkit")) {
294-
logger.warn("We have detected that you are runnging Floodgate 1.0 which is not supported by the Bukkit "
294+
logger.warn("We have detected that you are running Floodgate 1.0 which is not supported by the Bukkit "
295295
+ "version of FastLogin.");
296-
logger.warn("If you would like to use FastLogin with Floodgate, you can download developement builds of "
296+
logger.warn("If you would like to use FastLogin with Floodgate, you can download development builds of "
297297
+ "Floodgate 2.0 from https://ci.opencollab.dev/job/GeyserMC/job/Floodgate/job/dev%252F2.0/");
298298
logger.warn("Don't forget to update Geyser to a supported version as well from "
299299
+ "https://ci.opencollab.dev/job/GeyserMC/job/Geyser/job/floodgate-2.0/");
300300
} else if (isPluginInstalled("floodgate") && isPluginInstalled("ProtocolLib")) {
301-
logger.warn("We have detected that you are runnging FastLogin alongside Floodgate and ProtocolLib.");
302-
logger.warn("Currently there is an issue with FastLogin that prevents Floodgate name prefixes from showing up "
303-
+ "when it is together used with ProtocolLib.");
304-
logger.warn("If you would like to use Floodgate name prefixes, you can replace ProtocolLib with ProtocolSupport "
305-
+ "which does not have this issue.");
301+
logger.warn("We have detected that you are running FastLogin alongside Floodgate and ProtocolLib.");
302+
logger.warn("Currently there is an issue with FastLogin that prevents Floodgate's name prefixes from " +
303+
"showing up when it is together used with ProtocolLib.");
304+
logger.warn("If you would like to use Floodgate name prefixes, you can replace ProtocolLib with " +
305+
"ProtocolSupport which does not have this issue.");
306306
logger.warn("For more information visit https://github.com/games647/FastLogin/issues/493");
307307
}
308308
}

0 commit comments

Comments
 (0)