mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Re-added teleport acceptance buttons
This commit is contained in:
1 parent
950474af10
commit
67781edd22
2 files changed
+38
No files matched your search
@@ -105,12 +105,14 @@ public class pluginMessageHandler implements PluginMessageListener {
|
||||
if (!vanishChecker.isVanished(recipient)) {
|
||||
teleportRequestHandler.teleportRequests.put(recipient, new TeleportRequest(messageData, "tpa"));
|
||||
messageManager.sendMessage(recipient, "tpa_request_ask", messageData);
|
||||
teleportRequestHandler.sendTpAcceptDenyButtons(recipient);
|
||||
}
|
||||
break;
|
||||
case "tpahere_request":
|
||||
if (!vanishChecker.isVanished(recipient)) {
|
||||
teleportRequestHandler.teleportRequests.put(recipient, new TeleportRequest(messageData, "tpahere"));
|
||||
messageManager.sendMessage(recipient, "tpahere_request_ask", messageData);
|
||||
teleportRequestHandler.sendTpAcceptDenyButtons(recipient);
|
||||
}
|
||||
break;
|
||||
case "tpa_request_reply":
|
||||
|
||||
Reference in new issue
Block a user