LiteLDev / LegacyScriptEngine

A plugin engine for running LLSE plugins on LeviLamina
https://lse.liteldev.com/
GNU General Public License v3.0
43 stars 8 forks source link

[Bug]: quickEvalMolangScript crash server #141

Closed MyNameInc closed 3 months ago

MyNameInc commented 3 months ago

Describe the bug

crash server

To Reproduce

mc.regPlayerCmd("v", "v", function (pl, args) { pl.quickEvalMolangScript("v.test = 1.0;")
}) mc.regPlayerCmd("q", "q", function (pl, args) { pl.quickEvalMolangScript("q.variant;")
})

Expected behavior

crash server

Screenshots

No response

Platform

windows 10

BDS Version

1.20.81

LeviLamina Version

0.12.3

LegacyScriptEngine Version

0.7.12

Additional context

No response

ShrBox commented 3 months ago

Fixed in https://github.com/LiteLDev/LeviLamina/commit/6ed404f06f3d00b0c9e47250807caae43f73b959