diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index ae60a47b99..d44b141ab5 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs @@ -292,9 +292,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL case enumCompileType.js: compileScript = String.Empty + "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + - "namespace SecondLife { " + - "class Script : OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + - @"public Script() { } " + + "package SecondLife {\r\n" + + "class Script extends OpenSim.Region.ScriptEngine.Common.LSL_BaseClass { \r\n" + compileScript + "} }\r\n"; break;