mirror of
https://bitbucket.org/seefoe/src.git
synced 2026-07-31 01:15:45 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user