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]: getBlock函数获取方块的name和type返回值是一样的 #130

Closed WuHuiZhang6902 closed 4 months ago

WuHuiZhang6902 commented 4 months ago

Describe the bug

bl.name和bl.type的获取值是一样的

To Reproduce

mc.getBlock(pos).name

Expected behavior

像获取物品函数的name一样获取方块name

Screenshots

No response

Platform

Windows 10

BDS Version

1.20.80

LeviLamina Version

0.12.2

LegacyScriptEngine Version

0.7.1

Additional context

No response

ShrBox commented 4 months ago

你可以试试lse最新版

我瞅了一眼,发现这问题从LLSE时期就开始存在了

WuHuiZhang6902 commented 4 months ago

你可以试试lse最新版

我瞅了一眼,发现这问题从LLSE时期就开始存在了

那这个问题可以修复吗?

ShrBox commented 4 months ago

你可以试试lse最新版

我瞅了一眼,发现这问题从LLSE时期就开始存在了

那这个问题可以修复吗?

我有时间就改

WuHuiZhang6902 commented 4 months ago

0.7.9的releases只发了源码,没有发本体