Remove "Maple" prefix from MaplePacketCreator name
This commit is contained in:
@@ -28,10 +28,11 @@ import client.inventory.MapleInventory;
|
||||
import client.inventory.MapleInventoryType;
|
||||
import client.inventory.manipulator.MapleInventoryManipulator;
|
||||
import config.YamlConfig;
|
||||
import java.util.List;
|
||||
import server.MapleItemInformationProvider;
|
||||
import server.MapleStatEffect;
|
||||
import tools.MaplePacketCreator;
|
||||
import tools.PacketCreator;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -82,7 +83,7 @@ public class PetAutopotProcessor {
|
||||
MapleClient c = this.c;
|
||||
MapleCharacter chr = c.getPlayer();
|
||||
if (!chr.isAlive()) {
|
||||
c.announce(MaplePacketCreator.enableActions());
|
||||
c.announce(PacketCreator.enableActions());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -101,7 +102,7 @@ public class PetAutopotProcessor {
|
||||
toUse = useInv.getItem(slot);
|
||||
if (toUse != null) {
|
||||
if (toUse.getItemId() != itemId) {
|
||||
c.announce(MaplePacketCreator.enableActions());
|
||||
c.announce(PacketCreator.enableActions());
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -110,7 +111,7 @@ public class PetAutopotProcessor {
|
||||
// from now on, toUse becomes the "cursor" for the current pot being used
|
||||
if (toUse.getQuantity() <= 0) {
|
||||
if (!cursorOnNextAvailablePot(chr)) {
|
||||
c.announce(MaplePacketCreator.enableActions());
|
||||
c.announce(PacketCreator.enableActions());
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -178,7 +179,7 @@ public class PetAutopotProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
chr.announce(MaplePacketCreator.enableActions());
|
||||
chr.announce(PacketCreator.enableActions());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user