Fixed spelling error.

This commit is contained in:
CodeForFame 2011-06-25 01:09:09 -05:00
parent dc7112653c
commit 93a5385f10
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ public class ReportHandlerQueries {
* @param reason
* What type of a report is this
*/
public synchronized void submitRepot(long from, long about, byte reason,
public synchronized void submitReport(long from, long about, byte reason,
Player from2) {
long time = GameEngine.getTime() / 1000;

View File

@ -38,16 +38,16 @@ public class ReportHandler implements PacketHandler {
return;
}
AlertHandler.sendAlert(
player.getUsername() + " sent a repot about: "
player.getUsername() + " sent a report about: "
+ DataConversions.hashToUsername(temp), 1);
// Instance.getServer().getLoginConnector().getActionSender().reportUser(player.getUsernameHash(),
// temp, b);
Instance.getReport().submitRepot(player.getUsernameHash(), temp, b,
Instance.getReport().submitReport(player.getUsernameHash(), temp, b,
player);
player.setLastReport();
world.addEntryToSnapshots(new Activity(player.getUsername(), player
.getUsername()
+ " sent a repot about: "
+ " sent a report about: "
+ DataConversions.hashToUsername(temp)));
player.getActionSender().sendMessage(
"Your report has been received, thank you.");