Don't show enum in log
This commit is contained in:
parent
9656ed4249
commit
580ae37385
@ -55,8 +55,7 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
YamlConfiguration pluginYml = ReflectionManager.getPluginYaml(getClassLoader());
|
YamlConfiguration pluginYml = ReflectionManager.getPluginYaml(getClassLoader());
|
||||||
buildNumber = StringUtils.stripToNull(pluginYml.getString("build-number"));
|
buildNumber = StringUtils.stripToNull(pluginYml.getString("build-number"));
|
||||||
|
|
||||||
getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion() + " | " +
|
getLogger().info("Discovered nms version: " + ReflectionManager.getBukkitVersion());
|
||||||
ReflectionManager.getVersion());
|
|
||||||
|
|
||||||
getLogger().info("Jenkins Build: " + (isNumberedBuild() ? "#" : "") + getBuildNo());
|
getLogger().info("Jenkins Build: " + (isNumberedBuild() ? "#" : "") + getBuildNo());
|
||||||
|
|
||||||
|
@ -5,5 +5,5 @@ package me.libraryaddict.disguise.utilities.reflection;
|
|||||||
*/
|
*/
|
||||||
public enum NmsVersion {
|
public enum NmsVersion {
|
||||||
v1_14,
|
v1_14,
|
||||||
v1_15;
|
v1_15
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user