public void GiveItems(Chest chest, Boolean respawn) {
		chest.getInventory().clear();
		this.pl.itemchests.put(chest.getLocation(), chest.getInventory());
		getRandomList();
		this.pl.chest.put(chest.getLocation(), chest);
		this.pl.trapped(chest.getLocation());
		itemGiver(chest);
		int drop = this.pl.getConfig().getInt("drop");
		if (respawn){
	    
		    switch (drop) { 
			    case 0:
			    	this.pl.cb.chestBreakFast(chest, chest.getInventory(), true);
			    	break;
			    case 1:
			    	this.pl.cb.chestBreakMinez(chest, chest.getInventory(), true);
			    	break;
			    case 2:
			    	this.pl.cb.chestBreakSlow(chest, chest.getInventory(), true);
			    	break;
			    default:
			    	this.pl.getLogger().severe("wrong configuration!"); 
		    }
		}else{
			switch (drop) { 
				case 0:
					this.pl.cb.chestBreakFast(chest, chest.getInventory(), false);
					break;
			    case 1:
			    	this.pl.cb.chestBreakMinez(chest, chest.getInventory(), false);
			    	break;
			    case 2:
			    	this.pl.cb.chestBreakSlow(chest, chest.getInventory(), false);
			    	break;
			    default:
			    	this.pl.getLogger().severe("wrong configuration!"); 
		    }
		}
	}