Buggy code:
public class CmdJoin extends FCommand { public CmdJoin ( ) { } @ Override public void perform ( ) { Faction faction = this . argAsFaction ( 0 ) ; if ( faction == null ) return ; FPlayer fplayer = this . argAsBestFPlayerMatch ( 1 , fme , false ) ; boolean samePlayer = fplayer == ( fme ) ; if ( ( ! samePlayer ) && ( ! ( JOIN_OTHERS . has ( sender , false ) ) ) ) { msg ( "<b>You<seq2seq4repair_space>do<seq2seq4repair_space>not<seq2seq4repair_space>have<seq2seq4repair_space>permission<seq2seq4repair_space>to<seq2seq4repair_space>move<seq2seq4repair_space>other<seq2seq4repair_space>players<seq2seq4repair_space>into<seq2seq4repair_space>a<seq2seq4repair_space>faction." ) ; return ; } if ( faction == ( fplayer . getFaction ( ) ) ) { msg ( "<b>%s<seq2seq4repair_space>%s<seq2seq4repair_space>already<seq2seq4repair_space>a<seq2seq4repair_space>member<seq2seq4repair_space>of<seq2seq4repair_space>%s" , fplayer . describeTo ( fme , true ) , ( samePlayer ? "are" : "is" ) , faction . getTag ( fme ) ) ; return ; } if ( ( ( Conf . factionMemberLimit ) > 0 ) && ( ( faction . getFPlayers ( ) . size ( ) ) >= ( Conf . factionMemberLimit ) ) ) { <START_BUG> msg ( "<b>The<seq2seq4repair_space>faction<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>at<seq2seq4repair_space>the<seq2seq4repair_space>limit<seq2seq4repair_space>of<seq2seq4repair_space>%d<seq2seq4repair_space>members,<seq2seq4repair_space>so<seq2seq4repair_space>%s<seq2seq4repair_space>cannot<seq2seq4repair_space>currently<seq2seq4repair_space>join." , faction . getTag ( fme ) , fplayer . describeTo ( fme , false ) ) ; <END_BUG> return ; } if ( fplayer . hasFaction ( ) ) { msg ( "<b>%s<seq2seq4repair_space>must<seq2seq4repair_space>leave<seq2seq4repair_space>%s<seq2seq4repair_space>current<seq2seq4repair_space>faction<seq2seq4repair_space>first." , fplayer . describeTo ( fme , true ) , ( samePlayer ? "your" : "their" ) ) ; return ; } if ( ( ! ( Conf . canLeaveWithNegativePower ) ) && ( ( fplayer . getPower ( ) ) < 0 ) ) { msg ( "<b>%s<seq2seq4repair_space>cannot<seq2seq4repair_space>join<seq2seq4repair_space>a<seq2seq4repair_space>faction<seq2seq4repair_space>with<seq2seq4repair_space>a<seq2seq4repair_space>negative<seq2seq4repair_space>power<seq2seq4repair_space>level." , fplayer . describeTo ( fme , true ) ) ; return ; } if ( ! ( ( ( ( faction . getOpen ( ) ) || ( faction . isInvited ( fplayer ) ) ) || ( fme . hasAdminMode ( ) ) ) || ( JOIN_ANY . has ( sender , false ) ) ) ) { msg ( "<i>This<seq2seq4repair_space>faction<seq2seq4repair_space>requires<seq2seq4repair_space>invitation." ) ; if ( samePlayer ) faction . msg ( "%s<i><seq2seq4repair_space>tried<seq2seq4repair_space>to<seq2seq4repair_space>join<seq2seq4repair_space>your<seq2seq4repair_space>faction." , fplayer . describeTo ( faction , true ) ) ; return ; } if ( samePlayer && ( ! ( payForCommand ( econCostJoin , "to<seq2seq4repair_space>join<seq2seq4repair_space>a<seq2seq4repair_space>faction" , "for<seq2seq4repair_space>joining<seq2seq4repair_space>a<seq2seq4repair_space>faction" ) ) ) ) return ; fme . msg ( "<i>%s<seq2seq4repair_space>successfully<seq2seq4repair_space>joined<seq2seq4repair_space>%s." , fplayer . describeTo ( fme , true ) , faction . getTag ( fme ) ) ; if ( ! samePlayer ) fplayer . msg ( "<i>%s<seq2seq4repair_space>moved<seq2seq4repair_space>you<seq2seq4repair_space>into<seq2seq4repair_space>the<seq2seq4repair_space>faction<seq2seq4repair_space>%s." , fme . describeTo ( fplayer , true ) , faction . getTag ( fplayer ) ) ; faction . msg ( "<i>%s<seq2seq4repair_space>joined<seq2seq4repair_space>your<seq2seq4repair_space>faction." , fplayer . describeTo ( faction , true ) ) ; fplayer . resetFactionData ( ) ; fplayer . setFaction ( faction ) ; faction . deinvite ( fplayer ) ; if ( Conf . logFactionJoin ) { if ( samePlayer ) p . log ( "%s<seq2seq4repair_space>joined<seq2seq4repair_space>the<seq2seq4repair_space>faction<seq2seq4repair_space>%s." , fplayer . getName ( ) , faction . getTag ( ) ) ; else p . log ( "%s<seq2seq4repair_space>moved<seq2seq4repair_space>the<seq2seq4repair_space>player<seq2seq4repair_space>%s<seq2seq4repair_space>into<seq2seq4repair_space>the<seq2seq4repair_space>faction<seq2seq4repair_space>%s." , fme . getName ( ) , fplayer . getName ( ) , faction . getTag ( ) ) ; } } }

Fix:
msg ( "<b>The<seq2seq4repair_space>faction<seq2seq4repair_space>%s<seq2seq4repair_space>is<seq2seq4repair_space>at<seq2seq4repair_space>the<seq2seq4repair_space>limit<seq2seq4repair_space>of<seq2seq4repair_space>%d<seq2seq4repair_space>members,<seq2seq4repair_space>so<seq2seq4repair_space>%s<seq2seq4repair_space>cannot<seq2seq4repair_space>currently<seq2seq4repair_space>join." , faction . getTag ( fme ) , factionMemberLimit , fplayer . describeTo ( fme , false ) ) ;