Rename and clean up MaplePlayerNPC
This commit is contained in:
@@ -25,7 +25,7 @@ package client.command.commands.gm6;
|
||||
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import server.life.MaplePlayerNPC;
|
||||
import server.life.PlayerNPC;
|
||||
|
||||
public class EraseAllPNpcsCommand extends Command {
|
||||
{
|
||||
@@ -34,6 +34,6 @@ public class EraseAllPNpcsCommand extends Command {
|
||||
|
||||
@Override
|
||||
public void execute(Client c, String[] params) {
|
||||
MaplePlayerNPC.removeAllPlayerNPC();
|
||||
PlayerNPC.removeAllPlayerNPC();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ package client.command.commands.gm6;
|
||||
import client.Character;
|
||||
import client.Client;
|
||||
import client.command.Command;
|
||||
import server.life.MaplePlayerNPC;
|
||||
import server.life.PlayerNPC;
|
||||
|
||||
public class SpawnAllPNpcsCommand extends Command {
|
||||
{
|
||||
@@ -36,6 +36,6 @@ public class SpawnAllPNpcsCommand extends Command {
|
||||
@Override
|
||||
public void execute(Client c, String[] params) {
|
||||
Character player = c.getPlayer();
|
||||
MaplePlayerNPC.multicastSpawnPlayerNPC(player.getMapId(), player.getWorld());
|
||||
PlayerNPC.multicastSpawnPlayerNPC(player.getMapId(), player.getWorld());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user