Rename and clean up MaplePlayerShop
This commit is contained in:
@@ -24,7 +24,7 @@ import constants.game.GameConstants;
|
||||
import net.AbstractPacketHandler;
|
||||
import net.packet.InPacket;
|
||||
import server.maps.HiredMerchant;
|
||||
import server.maps.MaplePlayerShop;
|
||||
import server.maps.PlayerShop;
|
||||
import tools.PacketCreator;
|
||||
|
||||
/*
|
||||
@@ -43,7 +43,7 @@ public final class OwlWarpHandler extends AbstractPacketHandler {
|
||||
}
|
||||
|
||||
HiredMerchant hm = c.getWorldServer().getHiredMerchant(ownerid); // if both hired merchant and player shop is on the same map
|
||||
MaplePlayerShop ps;
|
||||
PlayerShop ps;
|
||||
if(hm == null || hm.getMapId() != mapid || !hm.hasItem(c.getPlayer().getOwlSearch())) {
|
||||
ps = c.getWorldServer().getPlayerShop(ownerid);
|
||||
if(ps == null || ps.getMapId() != mapid || !ps.hasItem(c.getPlayer().getOwlSearch())) {
|
||||
|
||||
Reference in New Issue
Block a user