Skip to content

Commit

Permalink
fix a couple minor borks
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Aug 2, 2021
1 parent 833dddd commit d795493
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -185,7 +185,7 @@ else if (javaVersion.startsWith("9") || javaVersion.startsWith("1.9") || javaVer
if (Depends.citizens == null) {
if (Bukkit.getPluginManager().getPlugin("Citizens") != null) {
citizensBork = true;
getLogger().warning("Citizens is present but does seem to be activated! You may have an error earlier in your logs, or you may have a broken plugin load order.");
getLogger().warning("Citizens is present but doesn't seem to be activated! You may have an error earlier in your logs, or you may have a broken plugin load order.");
}
else {
getLogger().warning("Citizens does not seem to be available! Denizen will have greatly reduced functionality!");
Expand Down
Expand Up @@ -241,6 +241,7 @@ else if (context == null || context.showErrors()) {
if (slash != -1) {
try {
id = UUID.fromString(string.substring(0, slash));
string = string.substring(slash + 1);
Entity entity = getEntityForID(id);
if (entity != null) {
EntityTag result = new EntityTag(entity);
Expand All @@ -252,7 +253,6 @@ else if (context == null || context.showErrors()) {
Debug.echoError("Invalid EntityTag! ID '" + id + "' is valid, but '" + string + "' does not match its type data.");
}
}
string = string.substring(slash + 1);
}
catch (Exception ex) {
// DO NOTHING
Expand Down

0 comments on commit d795493

Please sign in to comment.