Release 9.7.1, make plugin free

This commit is contained in:
libraryaddict 2018-12-16 17:21:18 +13:00
parent b81f99aa0f
commit 8a24f8568f
2 changed files with 2 additions and 13 deletions

View File

@ -4,7 +4,7 @@
<!-- A good example on why temporary names for project identification shouldn't be used -->
<groupId>LibsDisguises</groupId>
<artifactId>LibsDisguises</artifactId>
<version>9.7.0-SNAPSHOT</version>
<version>9.7.1</version>
<build>
<defaultGoal>clean install</defaultGoal>

View File

@ -47,18 +47,7 @@ public class LibsDisguises extends JavaPlugin {
LibsPremium.check(getDescription().getVersion());
if (ReflectionManager.getMinecraftVersion().startsWith("1.13")) {
if (!LibsPremium.isPremium()) {
getLogger().severe("You must purchase the plugin to use 1.13!");
getLogger()
.severe("This will be released in just a few days, or you can buy it now for 50% off with all" +
" premium-only features included!");
getLogger().severe("If you've already purchased the plugin, place the purchased jar inside the " +
"Lib's Disguises plugin folder");
getPluginLoader().disablePlugin(this);
return;
}
} else {
if (!ReflectionManager.getMinecraftVersion().startsWith("1.13")) {
getLogger().severe("You're using the wrong version of Lib's Disguises for your server! This is " +
"intended for 1.13!");
getPluginLoader().disablePlugin(this);