Hey guys! I have a question again I solved the problem with saving blocks to a config! Thx to those helpers first of all. My new problem is: When I save the Type.toString() of a Block to my Config everything seems to work fine. Code: getConfig().set("BlockLocations." + manyblocks+ ".type", event.getBlock().getType().toString()); My new value in the config: Code: type: BOOKSHELF This works. But now I try to set the block from the config: Code: Material mat = Material.getMaterial(getConfig().getString("BlockLocations." + manyblocks+ ".type")); targetLoc0.getBlock().setType(mat); What the heck am I doing wrong that a NullPointerException in my console appears? Thanks for any suggestions!