Added a warning saying this is a fork

This commit is contained in:
Tuke-Nuke 2017-06-09 06:16:25 -03:00
parent e173314428
commit 127000b921

View File

@ -350,7 +350,7 @@ public class SkStuff extends JavaPlugin {
getLogger().info("It looks like you're running 1.11!"); getLogger().info("It looks like you're running 1.11!");
} else if (version.equals("v1_12_R1.")) { } else if (version.equals("v1_12_R1.")) {
nmsMethods = new NMS_v1_12_R1(); nmsMethods = new NMS_v1_12_R1();
getLogger().info("§cYou are running an unofficial fork of SkStuff, by Tuke_Nuke. Some nbt stuffs may not work properly!"); getServer().getConsoleSender().sendMessage("§c[SkStuff] You are running an unofficial fork of SkStuff, by Tuke_Nuke. Some nbt stuffs may not work properly!");
} else { } else {
getLogger().warning("It looks like you're running an unsupported server version, some features will not be available :("); getLogger().warning("It looks like you're running an unsupported server version, some features will not be available :(");
} }