Class cleanup.

This commit is contained in:
MagicBot committed 2023-08-14 14:33:19 -04:00
1 parent 41297e5a21
commit 6e3dd55804
3 files changed
+37 -183

No files matched your search

+3 -3
View File
@@ -21,12 +21,12 @@ public class Petition {
public String message;
public Petition(ClientNetMsg msg, ClientConnection origin) {
this.primaryType = ((PetitionReceivedMsg) msg).getType();
this.subType = ((PetitionReceivedMsg) msg).getSubType();
this.primaryType = ((PetitionReceivedMsg) msg).type;
this.subType = ((PetitionReceivedMsg) msg).subType;
this.reportAccount = origin.getAccount();
this.reportPlayer = origin.getPlayerCharacter();
this.playerLocation = origin.getPlayerCharacter().getLoc();
this.message = ((PetitionReceivedMsg) msg).getMessage();
this.message = ((PetitionReceivedMsg) msg).message;
}
}