Fixes #2595 (leave error)

This commit is contained in:
Jesse Boyd 2019-11-19 01:39:51 +00:00
parent a26ede4dae
commit 9c9841663a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -40,7 +40,7 @@ import java.util.concurrent.CompletableFuture;
if (plot.removeMember(uuid)) {
EventUtil.manager.callMember(player, plot, uuid, false);
}
MainUtil.sendMessage(player, Captions.INVALID_PLAYER, args[0]);
MainUtil.sendMessage(player, Captions.INVALID_PLAYER, player.getName());
} else {
MainUtil.sendMessage(player, Captions.REMOVED_PLAYERS, 1);
}