9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 02:59:06 +00:00

Merge pull request #545 from CocoTheOwner/noGradientNullSender

Remove the gradient if an error occurs with sender.send
This commit is contained in:
Dan
2021-08-15 06:39:32 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -484,7 +484,7 @@ public class Iris extends VolmitPlugin implements Listener {
sender.sendMessage(string);
} catch (Throwable e) {
try {
System.out.println(string);
System.out.println(instance.getTag() + string.replaceAll("(<([^>]+)>)", ""));
} catch (Throwable ignored1) {
}

View File

@@ -71,7 +71,7 @@ public class ResourceLoader<T extends IrisRegistrant> {
this.root = root;
this.folderName = folderName;
loadCache = new KMap<>();
Iris.debug("Loader<" + C.GREEN + resourceTypeName + C.LIGHT_PURPLE + "> created in " + C.RED + "IDM/" + manager.getId() + C.LIGHT_PURPLE + " on " + C.WHITE + manager.getDataFolder().getPath());
Iris.debug("Loader<" + C.GREEN + resourceTypeName + C.LIGHT_PURPLE + "> created in " + C.RED + "IDM/" + manager.getId() + C.LIGHT_PURPLE + " on " + C.GRAY + manager.getDataFolder().getPath());
}
public JSONObject buildSchema() {