mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-21 18:15:32 +01:00
Merely set to zero points, see #2167
This commit is contained in:
parent
dfd987dd32
commit
bc65715551
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user