Need to include the bundle's ident in our lookup to the resource list.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@501 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -67,6 +67,7 @@ public class NetworkResourceBundle extends ResourceBundle
|
||||
{
|
||||
// If we can reject it before opening a connection, then save the network latency.
|
||||
if (!inResourceList(path)) {
|
||||
System.err.println("MST Failed find: " + _ident + " : " + path);
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -110,7 +111,7 @@ public class NetworkResourceBundle extends ResourceBundle
|
||||
*/
|
||||
protected boolean inResourceList (String path)
|
||||
{
|
||||
return _rsrcList == null || _rsrcList.contains(path);
|
||||
return _rsrcList == null || _rsrcList.contains(_ident + path);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user