Fix spelling mistake in WhisperFlag and removed unused function causing problems

This commit is contained in:
RubenD96
2021-07-20 18:51:36 +02:00
parent ed8e6775df
commit b1aeedb815
2 changed files with 2 additions and 8 deletions

View File

@@ -1190,12 +1190,6 @@ public class World {
return getPlayerStorage().getCharacterByName(charName) != null;
}
public void whisper(String sender, String target, int channel, String message) {
if (isConnected(target)) {
getPlayerStorage().getCharacterByName(target).getClient().announce(MaplePacketCreator.getWhisper(sender, channel, message));
}
}
public BuddyAddResult requestBuddyAdd(String addName, int channelFrom, int cidFrom, String nameFrom) {
MapleCharacter addChar = getPlayerStorage().getCharacterByName(addName);
if (addChar != null) {