mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-03 06:28:49 +00:00
tpa: Lookup local requester using #getOnlineUserExact, fix #399
This commit is contained in:
1 file changed
+1
-1
@@ -289,7 +289,7 @@ public class RequestsManager {
|
|||||||
.ifPresent(recipient::sendMessage);
|
.ifPresent(recipient::sendMessage);
|
||||||
|
|
||||||
// Find the requester and inform them of the response
|
// Find the requester and inform them of the response
|
||||||
final Optional<OnlineUser> localRequester = plugin.getOnlineUser(request.getRequesterName());
|
final Optional<OnlineUser> localRequester = plugin.getOnlineUserExact(request.getRequesterName());
|
||||||
if (localRequester.isPresent()) {
|
if (localRequester.isPresent()) {
|
||||||
handleLocalRequestResponse(localRequester.get(), request);
|
handleLocalRequestResponse(localRequester.get(), request);
|
||||||
} else if (plugin.getSettings().doCrossServer()) {
|
} else if (plugin.getSettings().doCrossServer()) {
|
||||||
|
|||||||
Reference in new issue
Block a user