Project reformat.
This commit is contained in:
@@ -39,21 +39,21 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler {
|
||||
|
||||
Petition petition = new Petition(petitionReceivedMsg, origin);
|
||||
|
||||
// Write petition to database
|
||||
// Write petition to database
|
||||
|
||||
if (petitionReceivedMsg.petition == PETITION_NEW)
|
||||
DbManager.PetitionQueries.WRITE_PETITION_TO_TABLE(petition);
|
||||
if (petitionReceivedMsg.petition == PETITION_NEW)
|
||||
DbManager.PetitionQueries.WRITE_PETITION_TO_TABLE(petition);
|
||||
|
||||
// Close the petition window
|
||||
// Close the petition window
|
||||
|
||||
if (petitionReceivedMsg.petition == PETITION_NEW)
|
||||
petitionReceivedMsg.petition = PETITION_CLOSE;
|
||||
if (petitionReceivedMsg.petition == PETITION_NEW)
|
||||
petitionReceivedMsg.petition = PETITION_CLOSE;
|
||||
|
||||
petitionReceivedMsg.unknownByte01 = 0;
|
||||
petitionReceivedMsg.unknown04 = 0;
|
||||
petitionReceivedMsg.unknownByte01 = 0;
|
||||
petitionReceivedMsg.unknown04 = 0;
|
||||
|
||||
Dispatch dispatch = Dispatch.borrow(playerCharacter, petitionReceivedMsg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
|
||||
Dispatch dispatch = Dispatch.borrow(playerCharacter, petitionReceivedMsg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user