修改菜谱 2

This commit is contained in:
wenhe committed 2026-08-06 15:37:15 +08:00
1 parent 11e9780dd4
commit 8372b14dbd
3 files changed
+5 -35

No files matched your search

@@ -652,12 +652,11 @@ class CookingService(BlueFoxServerSystem):
try:
blockData = blockEntityDataComp.GetBlockEntityData(dim, pos)
if blockData is None:
print "[CookingService] _writeBlockData blockData is None: pos=%s dim=%s" % (pos, dim)
return
for key, value in kwargs.items():
blockData[key] = value
except Exception as e:
print "[CookingService] _writeBlockData 写入失败: pos=%s dim=%s err=%s" % (pos, dim, str(e))
pass
# ============================================================================
# 统一数据加载入口(玩家右键方块时先把方块数据恢复到内存)