Rename and clean up MapleShopFactory

This commit is contained in:
P0nk
2021-09-09 22:48:25 +02:00
parent 104444e83b
commit 43a80f0491
7 changed files with 21 additions and 23 deletions

View File

@@ -38,8 +38,8 @@ import net.AbstractPacketHandler;
import net.packet.InPacket;
import net.server.Server;
import server.ItemInformationProvider;
import server.MapleShopFactory;
import server.Shop;
import server.ShopFactory;
import server.TimerManager;
import server.maps.*;
import tools.PacketCreator;
@@ -494,7 +494,7 @@ public final class UseCashItemHandler extends AbstractPacketHandler {
}
} else if (itemType == 545) { // MiuMiu's travel store
if (player.getShop() == null) {
Shop shop = MapleShopFactory.getInstance().getShop(1338);
Shop shop = ShopFactory.getInstance().getShop(1338);
if (shop != null) {
shop.sendShop(c);
remove(c, position, itemId);