Enum defined and database work started.

This commit is contained in:
MagicBot committed 2023-08-14 12:48:05 -04:00
1 parent e2add187fd
commit 231d8810c8
4 files changed
+47 -92

No files matched your search

@@ -14,21 +14,20 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg msg, ClientConnection origin) throws MsgSendException {
if(msg == null)
if (msg == null)
return false;
if(origin == null)
if (origin == null)
return false;
Petition report = new Petition(msg,origin);
if(report == null){
Petition report = new Petition(msg, origin);
if (report == null)
return false;
}
try {
report.updateDatabase();
}
catch(Exception e){
} catch (Exception e) {
return false;
}
return true;