Java:
else if ( partyQuest.equals( "trash" ) )
{
Matcher m = RequestEditorKit.TRASH_PATTERN.matcher( buffer );
if ( m.find() )
{
String progress = " (~" + Preferences.getString( "_questPartyFairProgress" ) + " pieces of trash remaining)";
buffer.insert( m.end(), progress );
return;
}
}
else if ( partyQuest.equals( "trash" ) )
{
Matcher m = RequestEditorKit.MEAT_PATTERN.matcher( buffer );
if ( m.find() )
{
String progress = " (" + Preferences.getString( "_questPartyFairProgress" ) + " Meat remaining)";
buffer.insert( m.end(), progress );
return;
}
}
Code fragment from RequestEditorKit.java
It looks to me like there was a copy paste error and the second check should be something like partyQuest.equals( "meat" ) instead of partyQuest.equals( "trash" ).
I made a new thread since this was a comment made elsewhere where it was hard to track.
I marked it as waiting for info since I have not confirmed that this is a bug. At this moment it is just suspicious code.