-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.
Description
Type of bug
Other unexpected behaviour
/ess dump all output
N/A
Error log (if applicable)
No response
Bug description
The /otp command uses the sender name instead of the target name in the no location found message
Steps to reproduce
Assuming I'm Player1 trying to teleport to offline Player2 that has no last known location:
/otp Player2
Expected behaviour
Unable to find the last known position of Player2
Actual behaviour
Unable to find the last known position of Player1
Additional Information
This should use target instead of user in the translation argument here
Essentials/Essentials/src/main/java/com/earth2me/essentials/commands/Commandtpoffline.java
Line 24 in 264b0ed
| user.sendTl("teleportOfflineUnknown", user.getDisplayName()); |
Metadata
Metadata
Assignees
Labels
bug: unconfirmedPotential bugs that need replicating to verify.Potential bugs that need replicating to verify.