Merge pull request #432 from MeFisto94/AssetPath
Be more verbose when the Asset Path is outside of the root.
This commit is contained in:
commit
f4098ce89c
@ -156,7 +156,7 @@ public class AssetKey<T> implements Savable, Cloneable {
|
||||
list.removeLast();
|
||||
} else {
|
||||
list.add("..");
|
||||
Logger.getLogger(AssetKey.class.getName()).log(Level.SEVERE, "Asset path is outside assetmanager root");
|
||||
Logger.getLogger(AssetKey.class.getName()).log(Level.SEVERE, "Asset path \"{0}\" is outside assetmanager root", path);
|
||||
}
|
||||
} else {
|
||||
list.add(string);
|
||||
|
Loading…
x
Reference in New Issue
Block a user