refactor: change Item to Entity in spawn event

This commit is contained in:
子沐呀
2024-11-17 18:00:10 +08:00
Unverified
parent a08a8ff8ed
commit e88362e96a
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -347,8 +347,8 @@ export namespace Event {
callback: (event: {
/** 事件参数 */
params: {
/** 物品 */
0: Item,
/** 物品实体对象 */
0: Entity,
/** 生成坐标坐标 */
1: FloatPos,
/** 生成此物品主人的uniqueId (-1为不存在) */