Move last pieces of monster drops to DropProvider
This commit is contained in:
@@ -27,7 +27,6 @@ import client.Character;
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import client.command.CommandContext;
|
||||
import server.life.MonsterInformationProvider;
|
||||
|
||||
public class ReloadDropsCommand extends Command {
|
||||
{
|
||||
@@ -37,7 +36,7 @@ public class ReloadDropsCommand extends Command {
|
||||
@Override
|
||||
public void execute(Client c, String[] params, CommandContext ctx) {
|
||||
Character player = c.getPlayer();
|
||||
MonsterInformationProvider.getInstance().clearDrops();
|
||||
ctx.dropProvider().clearCaches();
|
||||
player.dropMessage(5, "Reloaded Drops");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user