Improve some error messages

This commit is contained in:
OMGeeky
2024-02-08 18:38:11 +00:00
parent 4571bea429
commit 4d03c15e08
2 changed files with 11 additions and 5 deletions

View File

@@ -236,7 +236,12 @@ public class ActorCondition extends JSONElement {
if (this.icon_id != null) {
String spritesheetId = this.icon_id.split(":")[0];
if (getProject().getSpritesheet(spritesheetId) == null) {
System.out.println("Actor Condition");
System.out.println(this.id);
System.out.println("failed to load spritesheet");
System.out.println(spritesheetId);
System.out.println("while creating backling for icon_id");
System.out.println(this.icon_id);
}
getProject().getSpritesheet(spritesheetId).addBacklink(this);
}