稻谷bug修复 提示删除

This commit is contained in:
wenhe committed 2026-09-29 16:25:50 +08:00
1 parent 344fad19ac
commit bd2ebfb154
43 files changed
+700 -846

No files matched your search

@@ -226,7 +226,6 @@ class ShicaiService(BlueFoxServerSystem):
if not self.checkCooldown(key, 0.5):
return True
self.replaceBlock(pos, dim, rule["target"], playerId)
comp.CreateMsg(playerId).NotifyOneMessage(playerId, rule["tip"])
return True
# ============================================================================
@@ -247,8 +246,6 @@ class ShicaiService(BlueFoxServerSystem):
# 最后一级再切 -> 掉碎 + 变空气
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [chain["drop"]])
comp.CreateMsg(playerId).NotifyOneMessage(
playerId, chain.get("tip", "§a切好了"))
return True
# ============================================================================
@@ -266,7 +263,6 @@ class ShicaiService(BlueFoxServerSystem):
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [GARLIC_DROP])
self.garlicChop.pop(gkey, None)
comp.CreateMsg(playerId).NotifyOneMessage(playerId, "§a切好了蒜末")
else:
self.garlicChop[gkey] = n
return True
@@ -289,7 +285,6 @@ class ShicaiService(BlueFoxServerSystem):
self.consumeItem(playerId, itemDict, need)
self.clearBlock(pos, dim)
self.dropItems(dim, pos, [rule["drop"]])
comp.CreateMsg(playerId).NotifyOneMessage(playerId, "§a裹粉完成")
return True
# ============================================================================