diff --git a/pom.xml b/pom.xml
index 9e3a29e..b19a6c2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
cc.carm.plugin
moeteleport
- 4.0.2
+ 4.0.3
MoeTeleport
喵喵传送,简单的传送、设置家的插件。
diff --git a/src/main/java/cc/carm/plugin/moeteleport/manager/RequestManager.java b/src/main/java/cc/carm/plugin/moeteleport/manager/RequestManager.java
index 70903ee..5f39881 100644
--- a/src/main/java/cc/carm/plugin/moeteleport/manager/RequestManager.java
+++ b/src/main/java/cc/carm/plugin/moeteleport/manager/RequestManager.java
@@ -104,12 +104,11 @@ public void acceptRequest(TeleportRequest request) {
}
public void cancelRequest(TeleportRequest request) {
- PluginMessages.REQUESTS.WAS_ACCEPTED.send(request.getSender(), request.getReceiver().getName());
- PluginMessages.REQUESTS.ACCEPTED.send(request.getReceiver(), request.getSender().getName());
+ PluginMessages.REQUESTS.SENT_CANCELLED.send(request.getSender(), request.getReceiver().getName());
+ PluginMessages.REQUESTS.RECEIVED_CANCELLED.send(request.getReceiver(), request.getSender().getName());
PluginConfig.REQUEST.SOUND.CANCELLED.playTo(request.getSender());
PluginConfig.REQUEST.SOUND.CANCELLED.playTo(request.getReceiver());
removeRequests(request);
- MoeTeleport.getTeleportManager().queueTeleport(request);
}
public void denyRequest(TeleportRequest request) {