Re-added teleport acceptance buttons

This commit is contained in:
William278 committed 2020-12-20 14:47:27 +00:00
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":