Rename and clean up MapleClient

This commit is contained in:
P0nk
2021-09-09 21:13:48 +02:00
parent da8837710a
commit b07e6799dc
425 changed files with 1110 additions and 1109 deletions

View File

@@ -22,7 +22,7 @@
package client.processor.action;
import client.Character;
import client.MapleClient;
import client.Client;
import client.inventory.Inventory;
import client.inventory.InventoryType;
import client.inventory.Item;
@@ -42,7 +42,7 @@ public class PetAutopotProcessor {
private static class AutopotAction {
private MapleClient c;
private Client c;
private short slot;
private int itemId;
@@ -73,14 +73,14 @@ public class PetAutopotProcessor {
return false;
}
public AutopotAction(MapleClient c, short slot, int itemId) {
public AutopotAction(Client c, short slot, int itemId) {
this.c = c;
this.slot = slot;
this.itemId = itemId;
}
public void run() {
MapleClient c = this.c;
Client c = this.c;
Character chr = c.getPlayer();
if (!chr.isAlive()) {
c.sendPacket(PacketCreator.enableActions());
@@ -183,7 +183,7 @@ public class PetAutopotProcessor {
}
}
public static void runAutopotAction(MapleClient c, short slot, int itemid) {
public static void runAutopotAction(Client c, short slot, int itemid) {
AutopotAction action = new AutopotAction(c, slot, itemid);
action.run();
}