From 04548b7c15ed3be871f0119b112a73224fbd3587 Mon Sep 17 00:00:00 2001 From: DarthArgus Date: Tue, 3 Nov 2015 20:58:52 -0600 Subject: [PATCH] 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 --- .../library/serverScript/src/shared/ScriptMethodsInteriors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/server/library/serverScript/src/shared/ScriptMethodsInteriors.cpp b/engine/server/library/serverScript/src/shared/ScriptMethodsInteriors.cpp index e978bf6b..ba1dae64 100644 --- a/engine/server/library/serverScript/src/shared/ScriptMethodsInteriors.cpp +++ b/engine/server/library/serverScript/src/shared/ScriptMethodsInteriors.cpp @@ -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; }