Rename and clean up MapleCharacter

This commit is contained in:
P0nk
2021-09-09 21:09:45 +02:00
parent 46bd0570d7
commit 7dc3a2159a
379 changed files with 3418 additions and 3373 deletions

View File

@@ -21,7 +21,7 @@
*/
package server.quest.actions;
import client.MapleCharacter;
import client.Character;
import config.YamlConfig;
import provider.MapleData;
import provider.MapleDataTool;
@@ -47,11 +47,11 @@ public class ExpAction extends MapleQuestAction {
}
@Override
public void run(MapleCharacter chr, Integer extSelection) {
public void run(Character chr, Integer extSelection) {
runAction(chr, exp);
}
public static void runAction(MapleCharacter chr, int gain) {
public static void runAction(Character chr, int gain) {
if (!YamlConfig.config.server.USE_QUEST_RATE) {
chr.gainExp(gain * chr.getExpRate(), true, true);
} else {