Fix for admin setTargetKarma function.
This commit is contained in:
parent
1fd489f2c0
commit
3f08928fd0
@ -1036,7 +1036,7 @@ public class AdminEditChar implements IAdminCommandHandler
|
|||||||
// for display
|
// for display
|
||||||
int oldKarma = player.getReputation();
|
int oldKarma = player.getReputation();
|
||||||
// update reputation
|
// update reputation
|
||||||
player.setReputation(newKarma);
|
player.setKarma(newKarma);
|
||||||
// Common character information
|
// Common character information
|
||||||
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOUR_REPUTATION_HAS_BEEN_CHANGED_TO_S1);
|
SystemMessage sm = SystemMessage.getSystemMessage(SystemMessageId.YOUR_REPUTATION_HAS_BEEN_CHANGED_TO_S1);
|
||||||
sm.addInt(newKarma);
|
sm.addInt(newKarma);
|
||||||
|
Loading…
Reference in New Issue
Block a user