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

@@ -19,7 +19,7 @@
*/
package client.creator;
import client.MapleCharacter;
import client.Character;
import client.MapleClient;
import client.MapleSkinColor;
import client.inventory.Inventory;
@@ -42,11 +42,11 @@ public abstract class CharacterFactory {
return -3;
}
if (!MapleCharacter.canCreateChar(name)) {
if (!Character.canCreateChar(name)) {
return -1;
}
MapleCharacter newchar = MapleCharacter.getDefault(c);
Character newchar = Character.getDefault(c);
newchar.setWorld(c.getWorld());
newchar.setSkinColor(MapleSkinColor.getById(skin));
newchar.setGender(gender);