Rename and clean up MaplePet

This commit is contained in:
P0nk
2021-09-09 20:51:30 +02:00
parent 5ed7cf73d1
commit 6ca5abd896
25 changed files with 121 additions and 113 deletions

View File

@@ -23,7 +23,7 @@ package net.server.channel.handlers;
import client.MapleCharacter;
import client.MapleClient;
import client.inventory.MaplePet;
import client.inventory.Pet;
import net.AbstractPacketHandler;
import net.packet.InPacket;
import server.maps.MapleMapItem;
@@ -42,7 +42,7 @@ public final class PetLootHandler extends AbstractPacketHandler {
MapleCharacter chr = c.getPlayer();
int petIndex = chr.getPetIndex(p.readInt());
MaplePet pet = chr.getPet(petIndex);
Pet pet = chr.getPet(petIndex);
if (pet == null || !pet.isSummoned()) {
c.sendPacket(PacketCreator.enableActions());
return;