mirror of
https://github.com/moparisthebest/MoparClassic
synced 2024-12-21 23:18:52 -05:00
Fixed spelling error.
This commit is contained in:
parent
dc7112653c
commit
93a5385f10
@ -53,7 +53,7 @@ public class ReportHandlerQueries {
|
|||||||
* @param reason
|
* @param reason
|
||||||
* What type of a report is this
|
* 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) {
|
Player from2) {
|
||||||
|
|
||||||
long time = GameEngine.getTime() / 1000;
|
long time = GameEngine.getTime() / 1000;
|
||||||
|
@ -38,16 +38,16 @@ public class ReportHandler implements PacketHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
AlertHandler.sendAlert(
|
AlertHandler.sendAlert(
|
||||||
player.getUsername() + " sent a repot about: "
|
player.getUsername() + " sent a report about: "
|
||||||
+ DataConversions.hashToUsername(temp), 1);
|
+ DataConversions.hashToUsername(temp), 1);
|
||||||
// Instance.getServer().getLoginConnector().getActionSender().reportUser(player.getUsernameHash(),
|
// Instance.getServer().getLoginConnector().getActionSender().reportUser(player.getUsernameHash(),
|
||||||
// temp, b);
|
// temp, b);
|
||||||
Instance.getReport().submitRepot(player.getUsernameHash(), temp, b,
|
Instance.getReport().submitReport(player.getUsernameHash(), temp, b,
|
||||||
player);
|
player);
|
||||||
player.setLastReport();
|
player.setLastReport();
|
||||||
world.addEntryToSnapshots(new Activity(player.getUsername(), player
|
world.addEntryToSnapshots(new Activity(player.getUsername(), player
|
||||||
.getUsername()
|
.getUsername()
|
||||||
+ " sent a repot about: "
|
+ " sent a report about: "
|
||||||
+ DataConversions.hashToUsername(temp)));
|
+ DataConversions.hashToUsername(temp)));
|
||||||
player.getActionSender().sendMessage(
|
player.getActionSender().sendMessage(
|
||||||
"Your report has been received, thank you.");
|
"Your report has been received, thank you.");
|
||||||
|
Loading…
Reference in New Issue
Block a user