Rename and clean up MapleStat
This commit is contained in:
@@ -25,7 +25,7 @@ package client.command.commands.gm3;
|
||||
|
||||
import client.Character;
|
||||
import client.Client;
|
||||
import client.MapleStat;
|
||||
import client.Stat;
|
||||
import client.command.Command;
|
||||
|
||||
public class FameCommand extends Command {
|
||||
@@ -44,7 +44,7 @@ public class FameCommand extends Command {
|
||||
Character victim = c.getWorldServer().getPlayerStorage().getCharacterByName(params[0]);
|
||||
if (victim != null) {
|
||||
victim.setFame(Integer.parseInt(params[1]));
|
||||
victim.updateSingleStat(MapleStat.FAME, victim.getFame());
|
||||
victim.updateSingleStat(Stat.FAME, victim.getFame());
|
||||
player.message("FAME given.");
|
||||
} else {
|
||||
player.message("Player '" + params[0] + "' could not be found.");
|
||||
|
||||
Reference in New Issue
Block a user