mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-03-01 18:40:26 +00:00
fix(mcfish): 合成的鱼竿可能多给 (#949)
* fix(mcfish): 合成的鱼竿可能多给 - 不使用梭哈功能合成鱼竿时,生成鱼竿仍然按梭哈合成计算,导致鱼竿可能多给 - 完善提示文本 * fix(mcfish): 出售所有垃圾功能不给钱 出售所有垃圾没有对钱包金额进行更新 * fix(mcfish): 使用美西螈钓鱼,吞鱼异常的问题 fishInfo.Number = 0 位置不对,导致海豚和鳕鱼都吃了100条。会一直吃到某种鱼数量够为止,并且前面数量不够的鱼都白吃了
This commit is contained in:
@@ -59,7 +59,7 @@ func init() {
|
||||
for {
|
||||
select {
|
||||
case <-time.After(time.Second * 120):
|
||||
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, message.Text("等待超时,取消钓鱼")))
|
||||
ctx.Send(message.ReplyWithMessage(ctx.Event.MessageID, message.Text("等待超时,取消购买")))
|
||||
return
|
||||
case e := <-recv:
|
||||
nextcmd := e.Event.Message.String()
|
||||
@@ -147,7 +147,7 @@ func init() {
|
||||
fishNumber = 0
|
||||
for name, number := range fishNmaes {
|
||||
fishNumber += number
|
||||
msg += strconv.Itoa(number) + name + "、"
|
||||
msg += strconv.Itoa(number) + name + " "
|
||||
}
|
||||
msg += ")"
|
||||
fishNumber /= 2
|
||||
|
||||
Reference in New Issue
Block a user