Rename and clean up MapleMount

This commit is contained in:
P0nk
2021-09-09 21:22:04 +02:00
parent 3e1b5b93d5
commit f4f5e12a50
6 changed files with 24 additions and 21 deletions

View File

@@ -345,7 +345,7 @@ public final class PlayerLoggedinHandler extends AbstractPacketHandler {
}
}
MapleMount mount = player.getMount(); // thanks Ari for noticing a scenario where Silver Mane quest couldn't be started
Mount mount = player.getMount(); // thanks Ari for noticing a scenario where Silver Mane quest couldn't be started
if (mount.getItemId() != 0) {
player.sendPacket(PacketCreator.updateMount(player.getId(), mount, false));
}

View File

@@ -23,7 +23,7 @@ package net.server.channel.handlers;
import client.Character;
import client.Client;
import client.MapleMount;
import client.Mount;
import client.inventory.Inventory;
import client.inventory.InventoryType;
import client.inventory.Item;
@@ -45,7 +45,7 @@ public final class UseMountFoodHandler extends AbstractPacketHandler {
int itemid = p.readInt();
Character chr = c.getPlayer();
MapleMount mount = chr.getMount();
Mount mount = chr.getMount();
Inventory useInv = chr.getInventory(InventoryType.USE);
if (c.tryacquireClient()) {