Skip to content

Commit

Permalink
Update version
Browse files Browse the repository at this point in the history
  • Loading branch information
ShirasawaSama committed Aug 21, 2020
1 parent 4a49091 commit fd30f84
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

import java.util.*;

@Plugin(name = "NekoGuard", version = "0.0.0")
@Plugin(name = "NekoGuard", version = "0.0.1")
@Description("An essential plugin used in NekoCraft.")
@Author("Shirasawa")
@Website("https://apisium.cn")
Expand Down Expand Up @@ -62,10 +62,10 @@ public void onEnable() {
saveDefaultConfig();
if (!Constants.IS_PAPER) getLogger().warning("We strongly recommend that you use PaperSpigot for better effects. Please visit here: https://papermc.io");
if (getServer().spigot().getConfig().getInt("world-settings.default.hopper-amount", 1) > 1)
getLogger().warning("the hopper-amount is greater than 1, container records may be inaccurate!");
getLogger().warning("the hopper-amount is bigger than 1, container records may be inaccurate!");
final String url = getConfig().getString("url");
if (url == null || url.equals("")) {
getLogger().warning("No InfluexDB url provided.");
getLogger().warning("No InfluxDB url provided.");
setEnabled(false);
return;
}
Expand Down

0 comments on commit fd30f84

Please sign in to comment.