That was super dumb.

Actually added registration for 1.10.
This commit is contained in:
TheBukor 2016-06-15 10:28:26 -03:00
parent ef561be3cd
commit fe34013fc2
1 changed files with 4 additions and 0 deletions

View File

@ -93,6 +93,7 @@ import me.TheBukor.SkStuff.expressions.ExprVanishState;
import me.TheBukor.SkStuff.expressions.ExprWGMemberOwner;
import me.TheBukor.SkStuff.expressions.ExprWordsToUpperCase;
import me.TheBukor.SkStuff.util.NMSInterface;
import me.TheBukor.SkStuff.util.NMS_v1_10_R1;
import me.TheBukor.SkStuff.util.NMS_v1_7_R4;
import me.TheBukor.SkStuff.util.NMS_v1_8_R3;
import me.TheBukor.SkStuff.util.NMS_v1_9_R1;
@ -342,6 +343,9 @@ public class SkStuff extends JavaPlugin {
} else if (version.equals("v1_9_R2.")) {
nmsMethods = new NMS_v1_9_R2();
getLogger().info("It looks like you're running 1.9.4!");
} else if (version.equals("v1_10_R1.")) {
nmsMethods = new NMS_v1_10_R1();
getLogger().info("It looks like you're running 1.10!");
} else {
getLogger().warning("It looks like you're running an unsupported server version, some features will not be available :(");
}