mirror of
https://github.com/redstrate/Kawari.git
synced 2025-06-30 11:47:45 +00:00
Address warning: "unneeded return
statement"
This commit is contained in:
parent
89aee8e5d8
commit
32d978d82b
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ impl ChatHandler {
|
|||
}
|
||||
|
||||
let parts: Vec<&str> = chat_message.message.split(' ').collect();
|
||||
return match parts[0] {
|
||||
match parts[0] {
|
||||
"!spawnnpc" => {
|
||||
connection
|
||||
.handle
|
||||
|
@ -93,6 +93,6 @@ impl ChatHandler {
|
|||
true
|
||||
}
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue