Buggy code:
public class Law { public static final String PLUGIN_NAME = "Law" ; public static final String ON_ENABLE_MESSAGE = ( Law . PLUGIN_NAME ) + "<seq2seq4repair_space>enabled." ; public static final String ON_DISABLE_MESSAGE = ( Law . PLUGIN_NAME ) + "<seq2seq4repair_space>disabled." ; public static final String MESSAGE_PREFIX = ( "[" + ( Law . PLUGIN_NAME ) ) + "]<seq2seq4repair_space>" ; private final Logger log = Logger . getLogger ( "Minecraft" ) ; private Plugin plugin = null ; private static Law self = null ; private HashMap < String , LawWorld > worlds ; private Law ( ) { } public static Law get ( ) { } public void logMessage ( String message ) { } public void sendMessage ( CommandSender sender , String message ) { } public void setPlugin ( Plugin plugin ) { } public Plugin getPlugin ( ) { } public void readConfig ( ) { FileConfiguration config = this . plugin . getConfig ( ) ; ConfigurationSection worlds = config . getConfigurationSection ( "worlds" ) ; if ( worlds != null ) { World world ; LawWorld lawWorld ; ConfigurationSection prisons ; ConfigurationSection activePrisons ; for ( String worldName : worlds . getKeys ( false ) ) { world = plugin . getServer ( ) . getWorld ( worldName ) ; lawWorld = new LawWorld ( world ) ; this . putLawWorld ( lawWorld ) ; prisons = config . getConfigurationSection ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons" ) ) ; Prison prison ; ConfigurationSection cells ; double x ; double y ; double z ; Location cellLocation ; Double defaultCellX ; Double defaultCellY ; Double defaultCellZ ; Double defaultCellPitch ; Double defaultCellYaw ; if ( prisons != null ) { for ( String prisonName : prisons . getKeys ( false ) ) { prison = new Prison ( lawWorld , prisonName , false ) ; lawWorld . addPrison ( prison ) ; defaultCellX = config . getDouble ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".default_cell.location.x" ) ) ; defaultCellY = config . getDouble ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".default_cell.location.y" ) ) ; defaultCellZ = config . getDouble ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".default_cell.location.z" ) ) ; defaultCellPitch = config . getDouble ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".default_cell.location.pitch" ) ) ; defaultCellYaw = config . getDouble ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".default_cell.location.yaw" ) ) ; <START_BUG> if ( ( ( ( ( defaultCellX != null ) && ( defaultCellY != null ) ) && ( defaultCellZ != null ) ) && ( defaultCellPitch != null ) ) && ( defaultCellYaw != null ) ) { <END_BUG> prison . setDefaultCell ( new Location ( world , defaultCellX , defaultCellY , defaultCellZ , new Float ( defaultCellYaw ) , new Float ( defaultCellPitch ) ) , false ) ; } cells = config . getConfigurationSection ( ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".prisons." ) + ( prison . getName ( ) ) ) + ".cells" ) ) ; if ( cells != null ) { for ( String cellName : cells . getKeys ( false ) ) { String prefix = ( ( ( "prisons." + prisonName ) + ".cells." ) + cellName ) + ".location." ; x = config . getDouble ( ( prefix + "x" ) ) ; y = config . getDouble ( ( prefix + "x" ) ) ; z = config . getDouble ( ( prefix + "x" ) ) ; cellLocation = new Location ( world , x , y , z ) ; prison . addCell ( cellName , cellLocation , false ) ; } } } } activePrisons = config . getConfigurationSection ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".active_prisons" ) ) ; if ( activePrisons != null ) { for ( String playerDisplayName : activePrisons . getKeys ( false ) ) { String prisonName = config . getString ( ( ( ( "worlds." + ( lawWorld . getName ( ) ) ) + ".active_prisons." ) + playerDisplayName ) ) ; Player player = plugin . getServer ( ) . getPlayerExact ( playerDisplayName ) ; logMessage ( player . getDisplayName ( ) ) ; logMessage ( prisonName ) ; lawWorld . setSelectedPrison ( player , prisonName , false ) ; } } } } } public LawWorld getLawWorld ( String name ) { } public LawWorld getOrCreateLawWorld ( World world ) { } public void putLawWorld ( LawWorld lawWorld ) { } public void putWorld ( World world ) { } }

Fix:
if ( ( ( defaultCellX != 0 ) || ( defaultCellY != 0 ) ) || ( defaultCellZ != 0 ) ) {