@EventHandler(priority = EventPriority.HIGH)
	public void onGeneration(ChunkPopulateEvent event){
		if (config.getBoolean("Features.extraDungeonLoot") == true){
			BlockState[] tileEnts = event.getChunk().getTileEntities();
			for (BlockState state : tileEnts) {
				if (state.getType() != Material.CHEST){
					continue;
				}else{
					Chest chest = (Chest) state;
					//FIXME(just for tag) debug Bukkit.getLogger().info("Enhancing dungeon loot at dungeon chest- X: "+chest.getX()+" Y: "+chest.getY()+" Z: "+chest.getZ());
					Inventory cInv = chest.getInventory();
					double lootPasses = Math.random();
					int passes;
					if (lootPasses <= 0.1){//10% of nothing new
						passes = 0;
					} else if (lootPasses <= 0.3){//20% of one new thing
						passes = 1;
					}else if (lootPasses <= 0.6){//30% of two new things
						passes = 2;
					}else if (lootPasses <= 0.9){//30% of three new things
						passes = 3;
					}else{//10% of 4 new things
						passes = 4;
					}
					for (int i = 0; i < passes; i++){
						ItemStack newLoot = randLoot();
						if (newLoot != null){
							cInv.addItem();
						}
					}
				}
			}
		}
	}