Remove "Maple" prefix from MaplePacketCreator name

This commit is contained in:
P0nk
2021-08-19 21:31:57 +02:00
parent 579e3c639f
commit e184f25184
307 changed files with 2285 additions and 2328 deletions

View File

@@ -28,7 +28,7 @@ import client.MapleClient;
import client.command.Command;
import net.server.Server;
import server.life.MapleLifeFactory;
import tools.MaplePacketCreator;
import tools.PacketCreator;
public class BombCommand extends Command {
{
@@ -42,7 +42,7 @@ public class BombCommand extends Command {
MapleCharacter victim = c.getWorldServer().getPlayerStorage().getCharacterByName(params[0]);
if (victim != null) {
victim.getMap().spawnMonsterOnGroundBelow(MapleLifeFactory.getMonster(9300166), victim.getPosition());
Server.getInstance().broadcastGMMessage(c.getWorld(), MaplePacketCreator.serverNotice(5, player.getName() + " used !bomb on " + victim.getName()));
Server.getInstance().broadcastGMMessage(c.getWorld(), PacketCreator.serverNotice(5, player.getName() + " used !bomb on " + victim.getName()));
} else {
player.message("Player '" + params[0] + "' could not be found on this world.");
}

View File

@@ -25,7 +25,7 @@ package client.command.commands.gm2;
import client.MapleClient;
import client.command.Command;
import tools.MaplePacketCreator;
import tools.PacketCreator;
public class UnBugCommand extends Command {
{
@@ -34,6 +34,6 @@ public class UnBugCommand extends Command {
@Override
public void execute(MapleClient c, String[] params) {
c.getPlayer().getMap().broadcastMessage(MaplePacketCreator.enableActions());
c.getPlayer().getMap().broadcastMessage(PacketCreator.enableActions());
}
}