mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-21 06:58:55 -05:00
Fixed spelling error.
This commit is contained in:
parent
dc7112653c
commit
93a5385f10
@ -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;
|
||||
|
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user