Send message to correct player

This commit is contained in:
nossr50 2019-05-18 08:03:39 -07:00
parent 2a471e409c
commit 447ce97f24

View File

@ -65,7 +65,7 @@ public class XprateCommand implements TabExecutor {
senderName = ((Player) sender).getDisplayName();
}
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.End", senderName));
}
}
@ -133,7 +133,7 @@ public class XprateCommand implements TabExecutor {
senderName = ((Player) sender).getDisplayName();
}
sender.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
player.sendMessage(LocaleLoader.getString("XPRate.AdminDetails.Start", senderName, newXpRate));
}
}