转换调整1

This commit is contained in:
wenhe committed 2026-08-03 15:51:31 +08:00
1 parent be7e56d966
commit 73436337f0
3 files changed
+5 -3

No files matched your search

@@ -689,7 +689,7 @@ class CookingService(BlueFoxServerSystem):
# 数量不够或刚好用完 → 清空主手
comp.CreateItem(playerId).SetEntityItem(
serverApi.GetMinecraftEnum().ItemPosType.CARRIED,
{"count": 0})
{"itemName": "minecraft:air", "count": 0, "auxValue": 0})
else:
# 数量够 → 减少 amount 个
itemDict["count"] = count - amount