Release 9.7.1, make plugin free
This commit is contained in:
parent
b81f99aa0f
commit
8a24f8568f
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
|||||||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||||
<groupId>LibsDisguises</groupId>
|
<groupId>LibsDisguises</groupId>
|
||||||
<artifactId>LibsDisguises</artifactId>
|
<artifactId>LibsDisguises</artifactId>
|
||||||
<version>9.7.0-SNAPSHOT</version>
|
<version>9.7.1</version>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>clean install</defaultGoal>
|
<defaultGoal>clean install</defaultGoal>
|
||||||
|
@ -47,18 +47,7 @@ public class LibsDisguises extends JavaPlugin {
|
|||||||
|
|
||||||
LibsPremium.check(getDescription().getVersion());
|
LibsPremium.check(getDescription().getVersion());
|
||||||
|
|
||||||
if (ReflectionManager.getMinecraftVersion().startsWith("1.13")) {
|
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 {
|
|
||||||
getLogger().severe("You're using the wrong version of Lib's Disguises for your server! This is " +
|
getLogger().severe("You're using the wrong version of Lib's Disguises for your server! This is " +
|
||||||
"intended for 1.13!");
|
"intended for 1.13!");
|
||||||
getPluginLoader().disablePlugin(this);
|
getPluginLoader().disablePlugin(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user