mirror of
https://github.com/OMGeeky/ATCS.git
synced 2025-12-30 00:03:29 +01:00
Compare commits
1 Commits
sample-bui
...
misc-error
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d03c15e08 |
@@ -236,7 +236,12 @@ public class ActorCondition extends JSONElement {
|
|||||||
if (this.icon_id != null) {
|
if (this.icon_id != null) {
|
||||||
String spritesheetId = this.icon_id.split(":")[0];
|
String spritesheetId = this.icon_id.split(":")[0];
|
||||||
if (getProject().getSpritesheet(spritesheetId) == null) {
|
if (getProject().getSpritesheet(spritesheetId) == null) {
|
||||||
|
System.out.println("Actor Condition");
|
||||||
System.out.println(this.id);
|
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);
|
getProject().getSpritesheet(spritesheetId).addBacklink(this);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ public abstract class JSONElement extends GameDataElement {
|
|||||||
}
|
}
|
||||||
catch(Exception e){
|
catch(Exception e){
|
||||||
System.out.println("Error in ID: " + id);
|
System.out.println("Error in ID: " + id);
|
||||||
|
System.out.println(e.getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (FileNotFoundException e) {
|
} catch (FileNotFoundException e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user