-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
@ Client / AudiovisualsBugIssues that were confirmed to be a bugIssues that were confirmed to be a bugUI/UXgood first issue
Description
Minetest version
5.9.0
Summary
If you get disconnected via minetest.disconnect_player(player, "Some reason text."), Minetest disconnects you but the message is framed as an error message. It looks something like this:
"An error has occured: Access denied. Reason: Some reason text.".
I think this is wrong; the message should not be framed as an error but as a generic message. Specifically, the "An error has occured:" must go.
This is because disconnecting a player like this is normal and not done because there's an error or bug in the software.
Steps to reproduce
- Install
luacmd - Do the command:
/lua minetest.disconnect_player(me, "This is the disconnect reason text.")
rubenwardy and CrazyladMT
Metadata
Metadata
Assignees
Labels
@ Client / AudiovisualsBugIssues that were confirmed to be a bugIssues that were confirmed to be a bugUI/UXgood first issue