don't report invalid portal properties as the current script used for area spawners and spawn eggs is used both in and outdoors, and cells don't exist outdoors, thus portals don't either

This commit is contained in:
DarthArgus
2015-11-03 20:58:52 -06:00
parent ec09586eb1
commit 04548b7c15
@@ -458,7 +458,7 @@ jlong JNICALL ScriptMethodsInteriorsNamespace::getCellId(JNIEnv *env, jobject se
PortalProperty const * const portalProp = serverObject->getPortalProperty();
if (!portalProp)
{
DEBUG_WARNING(true, ("[script bug] JavaLibrary::getCellId server object %s has no portal property", serverObject->getDebugInformation().c_str()));
//DEBUG_WARNING(true, ("[script bug] JavaLibrary::getCellId server object %s has no portal property", serverObject->getDebugInformation().c_str()));
return 0;
}