Rename and clean up MapleShopFactory
This commit is contained in:
@@ -25,7 +25,7 @@ package client.command.commands.gm2;
|
||||
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import server.MapleShopFactory;
|
||||
import server.ShopFactory;
|
||||
|
||||
public class GmShopCommand extends Command {
|
||||
{
|
||||
@@ -34,6 +34,6 @@ public class GmShopCommand extends Command {
|
||||
|
||||
@Override
|
||||
public void execute(Client c, String[] params) {
|
||||
MapleShopFactory.getInstance().getShop(1337).sendShop(c);
|
||||
ShopFactory.getInstance().getShop(1337).sendShop(c);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ package client.command.commands.gm3;
|
||||
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import server.MapleShopFactory;
|
||||
import server.ShopFactory;
|
||||
|
||||
|
||||
public class ReloadShopsCommand extends Command {
|
||||
@@ -35,6 +35,6 @@ public class ReloadShopsCommand extends Command {
|
||||
|
||||
@Override
|
||||
public void execute(Client c, String[] params) {
|
||||
MapleShopFactory.getInstance().reloadShops();
|
||||
ShopFactory.getInstance().reloadShops();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user