Remove "Maple" prefix from MaplePacketCreator name
This commit is contained in:
@@ -23,7 +23,7 @@ package client;
|
||||
|
||||
import net.server.PlayerStorage;
|
||||
import tools.DatabaseConnection;
|
||||
import tools.MaplePacketCreator;
|
||||
import tools.PacketCreator;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
@@ -167,7 +167,7 @@ public class BuddyList {
|
||||
public void addBuddyRequest(MapleClient c, int cidFrom, String nameFrom, int channelFrom) {
|
||||
put(new BuddylistEntry(nameFrom, "Default Group", cidFrom, channelFrom, false));
|
||||
if (pendingRequests.isEmpty()) {
|
||||
c.announce(MaplePacketCreator.requestBuddylistAdd(cidFrom, c.getPlayer().getId(), nameFrom));
|
||||
c.announce(PacketCreator.requestBuddylistAdd(cidFrom, c.getPlayer().getId(), nameFrom));
|
||||
} else {
|
||||
pendingRequests.push(new CharacterNameAndId(cidFrom, nameFrom));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user