@Override
    public void onItemSpawn(ItemSpawnEvent event) {
	PlanArea area = BuildingPlanner.plugin.areaManager.getAffectedArea(event.getLocation().getBlock());
	if (area == null) {
	    return;
	}

	// No restrictions if the area is committed.
	if (area.isCommitted()) {
	    return;
	}
	
	if (!area.isPlannedBlock(event.getLocation().getBlock())) {
	    area.addOriginalBlock(event.getLocation().getBlock(), true);
	    return;
	}
	
	
	// Disable all item spawns in plan blocks
	event.setCancelled(true);
	//System.out.println("Spawning item: "+event.getType());
        super.onItemSpawn(event);
    }