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]: onMobTrySpawn事件出错 #81

Closed panjj95 closed 5 months ago

panjj95 commented 5 months ago

Describe the bug

image

To Reproduce

mc.listen("onMobTrySpawn", (typeName, _pos) => { if (typeName === "minecraft:phantom" || typeName === "minecraft:wandering_trader") { return false; } })

Expected behavior

正常使用

Screenshots

No response

Platform

Windows 10

BDS Version

1.20.72.01

LeviLamina Version

0.10.1

LegacyScriptEngine Version

0.5.1

Additional context

No response

ShrBox commented 5 months ago

https://github.com/LiteLDev/LeviLamina/issues/1499