mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Requested changes
This commit is contained in:
parent
d252e5a2b5
commit
d31a293486
@ -35,11 +35,12 @@ class VersionsCommand extends SubCommand {
|
|||||||
sender.sendMessage(ChatColors.color("&a" + Bukkit.getName() + " &2" + ReflectionUtils.getVersion()));
|
sender.sendMessage(ChatColors.color("&a" + Bukkit.getName() + " &2" + ReflectionUtils.getVersion()));
|
||||||
sender.sendMessage("");
|
sender.sendMessage("");
|
||||||
sender.sendMessage(ChatColors.color("&aCS-CoreLib &2v" + SlimefunPlugin.getCSCoreLibVersion()));
|
sender.sendMessage(ChatColors.color("&aCS-CoreLib &2v" + SlimefunPlugin.getCSCoreLibVersion()));
|
||||||
sender.sendMessage(ChatColors.color("&aSlimefun &2v" + SlimefunPlugin.getVersion())
|
|
||||||
+ (SlimefunPlugin.getMetricsService().getVersion() != null
|
String version = "&aSlimefun &2v" + SlimefunPlugin.getVersion();
|
||||||
? " (Metrics build: #" + SlimefunPlugin.getMetricsService().getVersion() + ')'
|
if (SlimefunPlugin.getMetricsService().getVersion() != null)
|
||||||
: "")
|
version += "&7 (Metrics build: &2#" + SlimefunPlugin.getMetricsService().getVersion() + ')';
|
||||||
);
|
|
||||||
|
sender.sendMessage(ChatColors.color(version));
|
||||||
|
|
||||||
if (SlimefunPlugin.getRegistry().isBackwardsCompatible()) {
|
if (SlimefunPlugin.getRegistry().isBackwardsCompatible()) {
|
||||||
sender.sendMessage(ChatColor.YELLOW + "Backwards compatiblity enabled!");
|
sender.sendMessage(ChatColor.YELLOW + "Backwards compatiblity enabled!");
|
||||||
|
@ -25,6 +25,7 @@ import org.bukkit.plugin.Plugin;
|
|||||||
* <b>Note:</b> To start the metrics you will need to be calling {@link #start()}
|
* <b>Note:</b> To start the metrics you will need to be calling {@link #start()}
|
||||||
*
|
*
|
||||||
* @author TheBusyBiscuit
|
* @author TheBusyBiscuit
|
||||||
|
* @author WalshyDev
|
||||||
*/
|
*/
|
||||||
public class MetricsService {
|
public class MetricsService {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user