Remove "Maple" prefix from MaplePacketCreator name
This commit is contained in:
@@ -34,7 +34,7 @@ import scripting.event.EventInstanceManager;
|
||||
import server.maps.MapleDoor;
|
||||
import server.maps.MapleMap;
|
||||
import server.partyquest.MonsterCarnival;
|
||||
import tools.MaplePacketCreator;
|
||||
import tools.PacketCreator;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.Map.Entry;
|
||||
@@ -330,7 +330,7 @@ public class MapleParty {
|
||||
MapleParty party = player.getParty();
|
||||
if (party == null) {
|
||||
if (player.getLevel() < 10 && !YamlConfig.config.server.USE_PARTY_FOR_STARTERS) {
|
||||
player.announce(MaplePacketCreator.partyStatusMessage(10));
|
||||
player.announce(PacketCreator.partyStatusMessage(10));
|
||||
return false;
|
||||
} else if (player.getAriantColiseum() != null) {
|
||||
player.dropMessage(5, "You cannot request a party creation while participating the Ariant Battle Arena.");
|
||||
@@ -347,12 +347,12 @@ public class MapleParty {
|
||||
player.updatePartySearchAvailability(false);
|
||||
player.partyOperationUpdate(party, null);
|
||||
|
||||
player.announce(MaplePacketCreator.partyCreated(party, partyplayer.getId()));
|
||||
player.announce(PacketCreator.partyCreated(party, partyplayer.getId()));
|
||||
|
||||
return true;
|
||||
} else {
|
||||
if (!silentCheck) {
|
||||
player.announce(MaplePacketCreator.partyStatusMessage(16));
|
||||
player.announce(PacketCreator.partyStatusMessage(16));
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -380,15 +380,15 @@ public class MapleParty {
|
||||
return true;
|
||||
} else {
|
||||
if (!silentCheck) {
|
||||
player.announce(MaplePacketCreator.partyStatusMessage(17));
|
||||
player.announce(PacketCreator.partyStatusMessage(17));
|
||||
}
|
||||
}
|
||||
} else {
|
||||
player.announce(MaplePacketCreator.serverNotice(5, "You couldn't join the party since it had already been disbanded."));
|
||||
player.announce(PacketCreator.serverNotice(5, "You couldn't join the party since it had already been disbanded."));
|
||||
}
|
||||
} else {
|
||||
if (!silentCheck) {
|
||||
player.announce(MaplePacketCreator.serverNotice(5, "You can't join the party as you are already in one."));
|
||||
player.announce(PacketCreator.serverNotice(5, "You can't join the party as you are already in one."));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user