diff --git a/engine/src/core/com/jme3/scene/Spatial.java b/engine/src/core/com/jme3/scene/Spatial.java index 205610b5f..f22b73a45 100644 --- a/engine/src/core/com/jme3/scene/Spatial.java +++ b/engine/src/core/com/jme3/scene/Spatial.java @@ -1157,6 +1157,7 @@ public abstract class Spatial implements Savable, Cloneable, Collidable { } } + @SuppressWarnings("unchecked") public T getUserData(String key) { if (userData == null) { return null;