Don't show enum in log

This commit is contained in:
libraryaddict 2020-02-06 13:05:59 +13:00
parent 9656ed4249
commit 580ae37385
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4
2 changed files with 2 additions and 3 deletions

View File

@ -55,8 +55,7 @@ public class LibsDisguises extends JavaPlugin {
YamlConfiguration pluginYml = ReflectionManager.getPluginYaml(getClassLoader());
buildNumber = StringUtils.stripToNull(pluginYml.getString("build-number"));
getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion() + " | " +
ReflectionManager.getVersion());
getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion());
getLogger().info("Jenkins Build: " + (isNumberedBuild() ? "#" : "") + getBuildNo());

View File

@ -5,5 +5,5 @@ package me.libraryaddict.disguise.utilities.reflection;
*/
public enum NmsVersion {
v1_14,
v1_15;
v1_15
}