Buggy code:
public class ClaimInterract implements InterractStrategy { private AbstractQuarter from ; private boolean quit ; @ Override public void onPlayerInterract ( PlayerInteractEvent e ) { if ( ( e . action ) == ( Action . LEFT_CLICK_BLOCK ) ) { if ( quit ) { ForgeFactionPlayerProperties . get ( e . entityPlayer ) . setInterractStrategy ( null ) ; } else { quit = true ; } } else if ( ( e . action ) == ( Action . RIGHT_CLICK_BLOCK ) ) { quit = false ; AbstractQuarterBlock abstractQuarterBlock = getAbstractQuarter ( e ) ; if ( abstractQuarterBlock == null ) return ; if ( ! ( e . world . isRemote ) ) { ForgeFactionPlayerProperties playerProperties = ForgeFactionPlayerProperties . get ( e . entityPlayer ) ; if ( ( from ) == null ) { <START_BUG> this . from = TerritoryIndex . getIndex ( ) . getAbstractQuarter ( new fr . eyzox . forgefaction . territory . ForgeFactionChunk ( e . world . provider . dimensionId , e . x , e . z ) ) ; <END_BUG> if ( ( this . from ) == null ) { if ( abstractQuarterBlock instanceof HeadquarterBlock ) { HeadQuarter hq = ( ( HeadQuarter ) ( abstractQuarterBlock . createAbstractQuarter ( e . world , e . x , e . y , e . z ) ) ) ; try { playerProperties . getFaction ( ) . claims ( hq , TerritoryIndex . getIndex ( ) ) ; playerProperties . setInterractStrategy ( null ) ; playerProperties . getFaction ( ) . sendMessage ( new ChatComponentText ( ( ( ( e . entityPlayer . getDisplayName ( ) ) + "<seq2seq4repair_space>has<seq2seq4repair_space>claimed<seq2seq4repair_space>new<seq2seq4repair_space>territory<seq2seq4repair_space>" ) + ( hq . printCoordinates ( ) ) ) ) ) ; } catch ( ForgeFactionException e1 ) { e1 . printStackTrace ( ) ; e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( e1 . getMessage ( ) ) ) ; } } else { e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( "You<seq2seq4repair_space>must<seq2seq4repair_space>choose<seq2seq4repair_space>a<seq2seq4repair_space>quarter<seq2seq4repair_space>block<seq2seq4repair_space>from<seq2seq4repair_space>your<seq2seq4repair_space>faction<seq2seq4repair_space>first<seq2seq4repair_space>or<seq2seq4repair_space>select<seq2seq4repair_space>a<seq2seq4repair_space>headquarter<seq2seq4repair_space>block" ) ) ; } } else if ( ( ( from . getFaction ( ) ) == ( playerProperties . getFaction ( ) ) ) && ( from . isQuarterBlock ( e . world , e . x , e . y , e . z ) ) ) { e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( ( ( "You've<seq2seq4repair_space>selected<seq2seq4repair_space>" + ( this . from . printCoordinates ( ) ) ) + "<seq2seq4repair_space>as<seq2seq4repair_space>source.<seq2seq4repair_space>Now<seq2seq4repair_space>select<seq2seq4repair_space>the<seq2seq4repair_space>new<seq2seq4repair_space>territory<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>claim<seq2seq4repair_space>or<seq2seq4repair_space>right<seq2seq4repair_space>click<seq2seq4repair_space>on<seq2seq4repair_space>this<seq2seq4repair_space>block<seq2seq4repair_space>again<seq2seq4repair_space>to<seq2seq4repair_space>choose<seq2seq4repair_space>an<seq2seq4repair_space>other<seq2seq4repair_space>source" ) ) ) ; } else { this . from = null ; } } else if ( from . isQuarterBlock ( e . world , e . x , e . y , e . z ) ) { this . from = null ; e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( "Right-Click<seq2seq4repair_space>on<seq2seq4repair_space>a<seq2seq4repair_space>quarter<seq2seq4repair_space>block<seq2seq4repair_space>to<seq2seq4repair_space>define<seq2seq4repair_space>it<seq2seq4repair_space>as<seq2seq4repair_space>source" ) ) ; } else { if ( abstractQuarterBlock instanceof HeadquarterBlock ) { e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( "A<seq2seq4repair_space>territory<seq2seq4repair_space>could<seq2seq4repair_space>only<seq2seq4repair_space>have<seq2seq4repair_space>1<seq2seq4repair_space>headquarter.<seq2seq4repair_space>However,<seq2seq4repair_space>you<seq2seq4repair_space>could<seq2seq4repair_space>have<seq2seq4repair_space>as<seq2seq4repair_space>headquarter<seq2seq4repair_space>as<seq2seq4repair_space>you<seq2seq4repair_space>want<seq2seq4repair_space>as<seq2seq4repair_space>source" ) ) ; } else { Quarter newTerritory = ( ( Quarter ) ( abstractQuarterBlock . createAbstractQuarter ( e . world , e . x , e . y , e . z ) ) ) ; try { from . claims ( newTerritory , TerritoryIndex . getIndex ( ) ) ; playerProperties . setInterractStrategy ( null ) ; playerProperties . getFaction ( ) . sendMessage ( new ChatComponentText ( ( ( ( e . entityPlayer . getDisplayName ( ) ) + "<seq2seq4repair_space>has<seq2seq4repair_space>claimed<seq2seq4repair_space>new<seq2seq4repair_space>territory<seq2seq4repair_space>" ) + ( newTerritory . printCoordinates ( ) ) ) ) ) ; } catch ( ForgeFactionException e1 ) { e1 . printStackTrace ( ) ; e . entityPlayer . addChatComponentMessage ( new ChatComponentText ( e1 . getMessage ( ) ) ) ; } } } } } } private AbstractQuarterBlock getAbstractQuarter ( PlayerInteractEvent e ) { } @ Override public IChatComponent getInstructions ( ) { } }

Fix:
this . from = TerritoryIndex . getIndex ( ) . getAbstractQuarter ( new ForgeFactionChunk ( e . world . provider . dimensionId , ForgeFactionChunk . getChunkPosition ( e . x ) , ForgeFactionChunk . getChunkPosition ( e . z ) ) ) ;