市场贸易实现 bug修复
This commit is contained in:
1 parent
1f329f8b4c
commit
cae9bcb19e
25 files changed
+1300
-187
No files matched your search
+2
-5
@@ -95,11 +95,8 @@ class DeadmobService(BlueFoxServerSystem):
|
||||
|
||||
def getItemUseOnRules(self):
|
||||
"""
|
||||
返回"手持物品右键方块表面"的规则(当前返回空)。
|
||||
挂鱼走 ServerBlockUseEvent(右键方块本身)即可,不需要 ItemUseOn:
|
||||
日志验证手持原版鲑鱼/鳕鱼右键肉钩会正常触发 ServerBlockUseEvent 并转换,
|
||||
若同时注册 ItemUseOn 会重复转换(多消耗一条鱼)且 ServerItemUseOnEvent 的
|
||||
玩家键是 entityId 不是 playerId,易出错,故不再使用该路径。
|
||||
返回"手持物品右键方块表面"的规则(原版放置已拆到 yuanbanfangzhi, 返回空)。
|
||||
手持原版鲑鱼/鳕鱼右键方块表面放置 死鲑鱼/死鳕鱼 的逻辑由 YuanbanService 处理。
|
||||
"""
|
||||
return {}
|
||||
|
||||
|
||||
Reference in new issue
Block a user