优化
This commit is contained in:
parent
1cc633b5ac
commit
b6d7913727
@ -212,7 +212,9 @@ func handle(p *Player, m *msg.Msg) error {
|
||||
Items := m.Item
|
||||
IsChip := false
|
||||
if m.Extra != nil {
|
||||
IsChip = m.Extra.(bool)
|
||||
if val, ok := m.Extra.(bool); ok {
|
||||
IsChip = val
|
||||
}
|
||||
}
|
||||
if IsChip {
|
||||
PlayroomMod.AddChip(m.From, m.SendT)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user