Fix warp deleting message not showing (#3927)

Fixes #3926
This commit is contained in:
Daniil 2021-01-19 05:18:13 +03:00 committed by GitHub
parent 7245e84f00
commit a482ddf0f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,6 +31,7 @@ public class Commanddelwarp extends EssentialsCommand {
return;
}
ess.getWarps().removeWarp(args[0]);
sender.sendMessage(tl("deleteWarp", args[0]));
} else {
throw new Exception(tl("warpNotExist"));
}