/seen IP address line may or may not be the last line
Type of bug
Other unexpected behaviour
/ess dump all output
https://essentialsx.net/dump.html?bytebin=nQftFe2h6d
Error log (if applicable)
No response
Bug description
The /seen IP address line is sent as the second-to-last line when executed on an offline player, as opposed to being output last when the command is executed on an online player.
Steps to reproduce
- Run /seen on an offline player who has joined the server before.
Expected behaviour
I believe that the IP address line should be output at the end, regardless of if a player is online.
Actual behaviour
The IP address line is output second to last, instead of last.
Additional Information
The IP address line being output second to last when seen is executed on an offline player makes it impossible to use seen to query the IP address of an offline player with a command block, since a command block's LastOutput is always set to the last line of the last command it executed.
I would understand if you closed this issue, by the way - this only causes issues with querying the output of a command block with a command like /data get.
We really don't support command blocks, you should seek a different method for doing whatever you're doing if you're relying on command output.