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

@@ -22,7 +22,7 @@
package server.life;
import client.Client;
import server.MapleShopFactory;
import server.ShopFactory;
import server.maps.MapObjectType;
import tools.PacketCreator;
@@ -35,11 +35,11 @@ public class NPC extends AbstractLoadedLife {
}
public boolean hasShop() {
return MapleShopFactory.getInstance().getShopForNPC(getId()) != null;
return ShopFactory.getInstance().getShopForNPC(getId()) != null;
}
public void sendShop(Client c) {
MapleShopFactory.getInstance().getShopForNPC(getId()).sendShop(c);
ShopFactory.getInstance().getShopForNPC(getId()).sendShop(c);
}
@Override