fix #93 sethome command feedback

This commit is contained in:
Flemmli97 2021-09-02 13:41:02 +02:00
parent b23ecd18e3
commit 26435a5df0

View File

@ -710,7 +710,7 @@ public class CommandClaim {
if (claim == null)
return 0;
claim.setHomePos(player.getBlockPos());
context.getSource().sendFeedback(PermHelper.simpleColoredText(String.format(ConfigHandler.lang.setHome, player.getBlockPos()), Formatting.GOLD), false);
context.getSource().sendFeedback(PermHelper.simpleColoredText(String.format(ConfigHandler.lang.setHome, player.getBlockPos().getX(), player.getBlockPos().getY(), player.getBlockPos().getZ()), Formatting.GOLD), false);
return Command.SINGLE_SUCCESS;
}