From 6b9700bebc4a5f585d8e6340a0dcc1e78552d6f6 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Thu, 13 Apr 2006 00:48:25 +0000 Subject: [PATCH] Null pointer checking goodness git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4015 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/cast/bundle/BundledComponentRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java index 7d8d942cf..382b81854 100644 --- a/src/java/com/threerings/cast/bundle/BundledComponentRepository.java +++ b/src/java/com/threerings/cast/bundle/BundledComponentRepository.java @@ -347,7 +347,7 @@ public class BundledComponentRepository // if this is a shadow image, no need to freak out as they are // optional - if (type.equals(StandardActions.SHADOW_TYPE)) { + if (type != null && type.equals(StandardActions.SHADOW_TYPE)) { return null; }