Class cleanup.

This commit is contained in:
2023-08-14 14:33:19 -04:00
parent 41297e5a21
commit 6e3dd55804
3 changed files with 37 additions and 183 deletions
+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;
}
}