diff --git a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java index bc6e4f007..72c529596 100644 --- a/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java +++ b/engine/src/niftygui/com/jme3/niftygui/NiftyJmeDisplay.java @@ -75,7 +75,7 @@ public class NiftyJmeDisplay implements SceneProcessor { if (info != null){ return info.openStream(); }else{ - return null; + throw new AssetNotFoundException(path); } }