Skip to content

Commit

Permalink
修复配置表物品ref无法获取bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JiChenSSG committed Mar 9, 2024
1 parent eb5d2eb commit 563a0c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test-next/define/实体/traits/有背包.gd
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ var props := {
var inputs = []

for item in input_item:
var item_id = item
var item_id
if item.is_valid_int():
item_id = int(item)
else:
item_id = item

var item_num = input_item[item]

var item_mono = sekai.make_mono(item_id, {&"stack_count": item_num})
Expand Down

0 comments on commit 563a0c8

Please sign in to comment.