mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-26 04:36:06 +01:00
*Beauty commit
This commit is contained in:
parent
f235b2da23
commit
4df5af05a3
@ -1446,7 +1446,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
|||||||
Quester quester = getQuester(target.getName());
|
Quester quester = getQuester(target.getName());
|
||||||
quester.questPoints -= Math.abs(points);
|
quester.questPoints -= Math.abs(points);
|
||||||
player.sendMessage(GOLD + "Took away " + PURPLE + points + GOLD + " Quest Points from " + GREEN + target.getName() + GOLD + "\'s.");
|
player.sendMessage(GOLD + "Took away " + PURPLE + points + GOLD + " Quest Points from " + GREEN + target.getName() + GOLD + "\'s.");
|
||||||
target.sendMessage(GREEN + player.getName() + GOLD + " took away " + PURPLE + points + GOLD + "Quest Points.");
|
target.sendMessage(GREEN + player.getName() + GOLD + " took away " + PURPLE + points + GOLD + " Quest Points.");
|
||||||
|
|
||||||
quester.saveData();
|
quester.saveData();
|
||||||
|
|
||||||
@ -1493,7 +1493,7 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
|
|||||||
Quester quester = getQuester(target.getName());
|
Quester quester = getQuester(target.getName());
|
||||||
quester.questPoints += Math.abs(points);
|
quester.questPoints += Math.abs(points);
|
||||||
player.sendMessage(GOLD + "Gave " + PURPLE + points + GOLD + " Quest Points to " + GREEN + target.getName() + GOLD + "\'s.");
|
player.sendMessage(GOLD + "Gave " + PURPLE + points + GOLD + " Quest Points to " + GREEN + target.getName() + GOLD + "\'s.");
|
||||||
target.sendMessage(GREEN + player.getName() + GOLD + " gave you " + PURPLE + points + GOLD + "Quest Points.");
|
target.sendMessage(GREEN + player.getName() + GOLD + " gave you " + PURPLE + points + GOLD + " Quest Points.");
|
||||||
|
|
||||||
quester.saveData();
|
quester.saveData();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user