Merely set to zero points, see #2167

This commit is contained in:
PikaMug 2023-12-04 02:30:34 -05:00
parent dfd987dd32
commit bc65715551

View File

@ -88,7 +88,7 @@ public class BukkitQuestadminTakepointsCommand extends BukkitQuestsSubCommand {
final Quester quester = plugin.getQuester(target.getUniqueId());
final int newPoints = quester.getQuestPoints() - Math.abs(points);
if (newPoints < 0) {
cs.sendMessage(ChatColor.RED + BukkitLang.get("questEditorPositiveAmount"));
quester.setQuestPoints(0);
} else {
quester.setQuestPoints(quester.getQuestPoints() - Math.abs(points));
String msg1 = BukkitLang.get("takeQuestPoints").replace("<points>", BukkitLang.get("questPoints"));